Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.009706/0.009706, allocations: 100.6 kB / 15.73 MB, free: 5.988 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.001413/0.001413, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.628/1.628, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.128/1.128, allocations: 135.1 MB / 425.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.00147, allocations: 64.14 kB / 0.5856 GB, free: 3.32 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5373/0.5388, allocations: 80.92 MB / 0.6647 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.01098/0.5498, allocations: 8.653 MB / 0.6731 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2085/0.7584, allocations: 156.3 MB / 0.8257 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003196/0.7617, allocations: 55.75 kB / 0.8258 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.7635, allocations: 352.5 kB / 0.8261 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006186/0.7697, allocations: 1.101 MB / 0.8272 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004973/0.7747, allocations: 1.418 MB / 0.8286 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009254/0.784, allocations: 5.346 MB / 0.8338 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005853/0.7899, allocations: 3 MB / 0.8367 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005029/0.795, allocations: 2.125 MB / 0.8388 GB, free: 14.59 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003983/0.799, allocations: 2.019 MB / 0.8408 GB, free: 12.57 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001903/0.8009, allocations: 500 kB / 0.8413 GB, free: 12.08 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003544/0.8045, allocations: 1.101 MB / 0.8423 GB, free: 10.98 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002067/0.8066, allocations: 1.086 MB / 0.8434 GB, free: 9.887 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004704/0.8113, allocations: 2.119 MB / 0.8455 GB, free: 7.758 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.8214, allocations: 6.046 MB / 0.8514 GB, free: 1.695 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.669e-06/0.8215, allocations: 0 / 0.8514 GB, free: 1.695 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8215, allocations: 3.938 kB / 0.8514 GB, free: 1.691 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002526/0.8218, allocations: 0 / 0.8514 GB, free: 1.691 MB / 0.67 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.01512/0.8369, allocations: 4.402 MB / 0.8557 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/0.837, allocations: 8.031 kB / 0.8557 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.8485, allocations: 1.337 MB / 0.857 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007921/0.8565, allocations: 2.418 MB / 0.8594 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003315/0.8568, allocations: 246.6 kB / 0.8596 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001632/0.8585, allocations: 316 kB / 0.8599 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01596/0.8745, allocations: 4.765 MB / 0.8645 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/0.8746, allocations: 3.938 kB / 0.8645 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001098/0.8757, allocations: 140 kB / 0.8647 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.8759, allocations: 80 kB / 0.8648 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5466/1.423, allocations: 5.121 MB / 0.8698 GB, free: 187.8 MB / 0.6856 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.03543/1.458, allocations: 16.55 MB / 0.8859 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01228/1.47, allocations: 4.286 MB / 0.8901 GB, free: 174.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005349/1.476, allocations: 1.82 MB / 0.8919 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00193/1.478, allocations: 1.634 MB / 0.8935 GB, free: 171.5 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009158/1.487, allocations: 2.147 MB / 0.8956 GB, free: 170.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=239): time 1.75e-05/1.487, allocations: 4 kB / 0.8956 GB, free: 170.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=239): time 0.02971/1.517, allocations: 5.524 MB / 0.901 GB, free: 167.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/1.517, allocations: 287.1 kB / 0.9012 GB, free: 167 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008094/1.525, allocations: 2.333 MB / 0.9035 GB, free: 165.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001188/1.526, allocations: 66.8 kB / 0.9036 GB, free: 165.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002182/1.529, allocations: 1.377 MB / 0.9049 GB, free: 164.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002182/1.531, allocations: 0.8073 MB / 0.9057 GB, free: 163.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003849/1.535, allocations: 0.5771 MB / 0.9063 GB, free: 163.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.523e-05/1.535, allocations: 302.2 kB / 0.9066 GB, free: 163.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008722/1.543, allocations: 1.68 MB / 0.9082 GB, free: 162.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01058/1.554, allocations: 2.052 MB / 0.9102 GB, free: 160.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01708/1.571, allocations: 3.685 MB / 0.9138 GB, free: 158.8 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.23e-05/1.571, allocations: 3.75 kB / 0.9138 GB, free: 158.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.01984/1.591, allocations: 4.288 MB / 0.918 GB, free: 155.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.104e-05/1.591, allocations: 8 kB / 0.918 GB, free: 155.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.574e-05/1.591, allocations: 8 kB / 0.918 GB, free: 155.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008916/1.592, allocations: 97.09 kB / 0.9181 GB, free: 155.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007131/1.599, allocations: 0.776 MB / 0.9189 GB, free: 154.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003304/1.603, allocations: 1.704 MB / 0.9205 GB, free: 152.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007001/1.61, allocations: 493.1 kB / 0.921 GB, free: 152.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/1.611, allocations: 143.8 kB / 0.9211 GB, free: 152.1 MB / 0.6856 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.005136/1.616, allocations: 0.9639 MB / 0.9221 GB, free: 151.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002579/1.619, allocations: 264.7 kB / 0.9223 GB, free: 150.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02587/1.645, allocations: 4.458 MB / 0.9267 GB, free: 146.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.644e-05/1.645, allocations: 28 kB / 0.9267 GB, free: 146.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.222e-05/1.645, allocations: 3.984 kB / 0.9267 GB, free: 146.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001113/1.645, allocations: 11.95 kB / 0.9267 GB, free: 146.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03616/1.681, allocations: 8.537 MB / 0.9351 GB, free: 137.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-05/1.682, allocations: 4.031 kB / 0.9351 GB, free: 137.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006481/1.688, allocations: 0.6318 MB / 0.9357 GB, free: 137 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007576/1.689, allocations: 84.78 kB / 0.9358 GB, free: 136.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009176/1.69, allocations: 75.88 kB / 0.9358 GB, free: 136.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002706/1.693, allocations: 1.724 MB / 0.9375 GB, free: 134.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.693, allocations: 4 kB / 0.9375 GB, free: 134.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0171/1.71, allocations: 3.741 MB / 0.9412 GB, free: 131.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003236/1.713, allocations: 0.8132 MB / 0.942 GB, free: 130.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001826/1.715, allocations: 67.62 kB / 0.942 GB, free: 130.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005884/1.721, allocations: 292.2 kB / 0.9423 GB, free: 129.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00133/1.722, allocations: 165.9 kB / 0.9425 GB, free: 129.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001084/1.723, allocations: 91.94 kB / 0.9426 GB, free: 129.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.006165/1.73, allocations: 1.741 MB / 0.9443 GB, free: 127.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.143e-06/1.73, allocations: 0 / 0.9443 GB, free: 127.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.008098/1.738, allocations: 0.9542 MB / 0.9452 GB, free: 127 MB / 0.6856 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.003763/1.742, allocations: 0.6992 MB / 0.9459 GB, free: 126.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01707/1.759, allocations: 3.838 MB / 0.9496 GB, free: 122.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/1.759, allocations: 8 kB / 0.9496 GB, free: 122.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.008447/1.767, allocations: 1.912 MB / 0.9515 GB, free: 120.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006635/1.774, allocations: 0.5028 MB / 0.952 GB, free: 120.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02715/1.801, allocations: 6.918 MB / 0.9588 GB, free: 113.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003953/1.805, allocations: 2.411 MB / 0.9611 GB, free: 110.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.008285/1.813, allocations: 0.9601 MB / 0.962 GB, free: 109.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002986/1.817, allocations: 319.2 kB / 0.9624 GB, free: 109.5 MB / 0.6856 GB Notification: Performance of SimCode: time 1.743e-06/1.817, allocations: 0 / 0.9624 GB, free: 109.5 MB / 0.6856 GB Notification: Performance of Templates: time 0.08111/1.898, allocations: 45.71 MB / 1.007 GB, free: 64.11 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.makefile (rm -f IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe ; mkfifo IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe >> ../files/IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.sim & ./IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe 2>&1)