Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection") translateModel(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 118.7 kB / 16.37 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 193.5 kB / 17.31 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8408/0.8408, allocations: 132.2 MB / 423.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 71.89 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5154/0.5169, allocations: 80.18 MB / 0.5815 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.009758/0.5267, allocations: 8.665 MB / 0.59 GB, free: 20.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1774/0.7042, allocations: 156.3 MB / 0.7426 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002701/0.7069, allocations: 51.75 kB / 0.7426 GB, free: 8.703 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001258/0.7082, allocations: 348.5 kB / 0.743 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004311/0.7125, allocations: 1.092 MB / 0.744 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003729/0.7163, allocations: 1.418 MB / 0.7454 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00655/0.7228, allocations: 5.346 MB / 0.7506 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4477/1.171, allocations: 2.789 MB / 0.7534 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004291/1.175, allocations: 2.056 MB / 0.7554 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003866/1.179, allocations: 2.034 MB / 0.7574 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001763/1.181, allocations: 0.4931 MB / 0.7578 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003888/1.184, allocations: 1.098 MB / 0.7589 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001602/1.186, allocations: 1.095 MB / 0.76 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003672/1.19, allocations: 2.124 MB / 0.7621 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009042/1.199, allocations: 6.079 MB / 0.768 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/1.199, allocations: 1.312 kB / 0.768 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.855e-06/1.199, allocations: 0 / 0.768 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002293/1.199, allocations: 0.8438 kB / 0.768 GB, free: 1.48 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 838 * Number of variables: 838 Notification: Performance of Generate backend data structure: time 0.01496/1.214, allocations: 4.423 MB / 0.7723 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/1.214, allocations: 10.09 kB / 0.7723 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009781/1.224, allocations: 1.341 MB / 0.7736 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008535/1.233, allocations: 2.465 MB / 0.776 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004921/1.233, allocations: 248.9 kB / 0.7763 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0027/1.236, allocations: 319.1 kB / 0.7766 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01763/1.253, allocations: 4.761 MB / 0.7812 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.38e-05/1.254, allocations: 2.562 kB / 0.7812 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000448/1.254, allocations: 140.6 kB / 0.7814 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.521e-05/1.254, allocations: 83.62 kB / 0.7815 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/1.266, allocations: 5.152 MB / 0.7865 GB, free: 14.48 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03259/1.299, allocations: 16.58 MB / 0.8027 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01127/1.31, allocations: 4.278 MB / 0.8069 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004966/1.315, allocations: 1.815 MB / 0.8086 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002217/1.317, allocations: 1.634 MB / 0.8102 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005989/1.323, allocations: 2.146 MB / 0.8123 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=239): time 7.835e-06/1.323, allocations: 0.9375 kB / 0.8123 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of matching and sorting (n=239): time 0.01426/1.338, allocations: 5.524 MB / 0.8177 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001791/1.338, allocations: 295.5 kB / 0.818 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00425/1.342, allocations: 2.381 MB / 0.8203 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0008331/1.343, allocations: 68.8 kB / 0.8204 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00145/1.344, allocations: 1.397 MB / 0.8217 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001381/1.346, allocations: 0.7907 MB / 0.8225 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/1.347, allocations: 0.5823 MB / 0.8231 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/1.347, allocations: 301.1 kB / 0.8234 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003994/1.351, allocations: 1.679 MB / 0.825 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004452/1.356, allocations: 2.051 MB / 0.827 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008498/1.364, allocations: 3.685 MB / 0.8306 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/1.364, allocations: 4 kB / 0.8306 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.01151/1.376, allocations: 4.282 MB / 0.8348 GB, free: 56 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/1.376, allocations: 15.31 kB / 0.8348 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/1.376, allocations: 4 kB / 0.8348 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006356/1.376, allocations: 101.3 kB / 0.8349 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004157/1.381, allocations: 0.7845 MB / 0.8357 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/1.383, allocations: 1.707 MB / 0.8373 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005076/1.388, allocations: 489.1 kB / 0.8378 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/1.389, allocations: 151.8 kB / 0.838 GB, free: 12.72 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 (sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (314): * Single equations (assignments): 313 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.005129/1.394, allocations: 0.9814 MB / 0.8389 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00263/1.397, allocations: 268.6 kB / 0.8392 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/1.41, allocations: 4.461 MB / 0.8435 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/1.41, allocations: 24 kB / 0.8436 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/1.41, allocations: 0 / 0.8436 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.362e-05/1.41, allocations: 15.95 kB / 0.8436 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01912/1.429, allocations: 8.56 MB / 0.8519 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.429, allocations: 4 kB / 0.8519 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003174/1.433, allocations: 0.6314 MB / 0.8525 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004585/1.433, allocations: 80.78 kB / 0.8526 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002474/1.433, allocations: 75.94 kB / 0.8527 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/1.435, allocations: 1.718 MB / 0.8544 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.435, allocations: 3.984 kB / 0.8544 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008768/1.444, allocations: 3.74 MB / 0.858 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002425/1.447, allocations: 0.817 MB / 0.8588 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007161/1.447, allocations: 67.69 kB / 0.8589 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002925/1.45, allocations: 298.7 kB / 0.8592 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003754/1.451, allocations: 169.8 kB / 0.8593 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/1.451, allocations: 91.94 kB / 0.8594 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002961/1.454, allocations: 1.773 MB / 0.8612 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.11e-07/1.454, allocations: 0 / 0.8612 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004318/1.458, allocations: 0.9618 MB / 0.8621 GB, free: 3.598 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 2 (sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002268/1.46, allocations: 0.6896 MB / 0.8628 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01046/1.471, allocations: 3.837 MB / 0.8665 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/1.471, allocations: 0 / 0.8665 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00467/1.476, allocations: 1.904 MB / 0.8684 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004262/1.48, allocations: 0.5045 MB / 0.8689 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/1.497, allocations: 6.975 MB / 0.8757 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00347/1.501, allocations: 2.42 MB / 0.878 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004239/1.505, allocations: 0.9915 MB / 0.879 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/1.507, allocations: 319.2 kB / 0.8793 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of SimCode: time 1.513e-06/1.507, allocations: 0 / 0.8793 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of Templates: time 0.08629/1.593, allocations: 45.11 MB / 0.9234 GB, free: 5.582 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.makefile (rm -f IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.sim & ./IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe 2>&1)