Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.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.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 108.5 kB / 16.41 MB, free: 6.512 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.001248/0.001248, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.297/1.297, 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-master/package.mo): time 0.7618/0.7618, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.45 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1457, allocations: 80.93 MB / 0.6653 GB, free: 5.773 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5671/0.7129, allocations: 235.9 MB / 0.8957 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02328/0.7362, allocations: 15.73 MB / 0.9111 GB, free: 3.395 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003115/0.7394, allocations: 91.5 kB / 0.9112 GB, free: 3.305 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003902/0.7433, allocations: 1.342 MB / 0.9125 GB, free: 1.961 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009077/0.7524, allocations: 3.542 MB / 0.9159 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006334/0.7588, allocations: 2.506 MB / 0.9184 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006841/0.7656, allocations: 4.971 MB / 0.9232 GB, free: 6.93 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003195/0.7688, allocations: 1.905 MB / 0.9251 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006071/0.7749, allocations: 2.783 MB / 0.9278 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003389/0.7783, allocations: 1.558 MB / 0.9293 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007581/0.7791, allocations: 207.9 kB / 0.9295 GB, free: 432 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007061/0.7862, allocations: 3.426 MB / 0.9329 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.00115/0.7873, allocations: 0.7555 MB / 0.9336 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00236/0.7897, allocations: 1.193 MB / 0.9348 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.007889/0.7976, allocations: 4.32 MB / 0.939 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.7976, allocations: 0 / 0.939 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7976, allocations: 0 / 0.939 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001123/0.7978, allocations: 3.938 kB / 0.939 GB, free: 6.695 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.006217/0.804, allocations: 2.822 MB / 0.9418 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.804, allocations: 9.109 kB / 0.9418 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004975/0.809, allocations: 0.7698 MB / 0.9425 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003855/0.8129, allocations: 1.738 MB / 0.9442 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.813, allocations: 102.6 kB / 0.9443 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003439/0.8134, allocations: 144 kB / 0.9445 GB, free: 0.9922 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003661/0.817, allocations: 1.651 MB / 0.9461 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.892e-05/0.8171, allocations: 7.875 kB / 0.9461 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.8173, allocations: 52 kB / 0.9461 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.322e-05/0.8173, allocations: 54.48 kB / 0.9462 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003401/0.8207, allocations: 1.415 MB / 0.9476 GB, free: 13.73 MB / 0.7169 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.0113/0.832, allocations: 7.724 MB / 0.9551 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/0.8347, allocations: 1.562 MB / 0.9566 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.8359, allocations: 0.5141 MB / 0.9571 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001268/0.8372, allocations: 0.7785 MB / 0.9579 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001258/0.8384, allocations: 0.5514 MB / 0.9584 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=83): time 4.389e-06/0.8385, allocations: 0 / 0.9584 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=83): time 0.004226/0.8427, allocations: 1.578 MB / 0.96 GB, free: 136 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.8428, allocations: 64.39 kB / 0.96 GB, free: 60 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/0.8455, allocations: 1.571 MB / 0.9616 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/0.8456, allocations: 41.7 kB / 0.9616 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00085/0.8465, allocations: 0.928 MB / 0.9625 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003133/0.8468, allocations: 291.7 kB / 0.9628 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003721/0.8472, allocations: 214.8 kB / 0.963 GB, free: 13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.8473, allocations: 341.9 kB / 0.9633 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.8484, allocations: 457.8 kB / 0.9638 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.8497, allocations: 0.782 MB / 0.9645 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/0.852, allocations: 1.211 MB / 0.9657 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.852, allocations: 4 kB / 0.9657 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003126/0.8551, allocations: 1.415 MB / 0.9671 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/0.8552, allocations: 45.84 kB / 0.9671 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.8552, allocations: 11.98 kB / 0.9672 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.064e-05/0.8553, allocations: 12 kB / 0.9672 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.8564, allocations: 267.6 kB / 0.9674 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.984e-05/0.8565, allocations: 27.86 kB / 0.9674 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.858, allocations: 135.6 kB / 0.9676 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.8581, allocations: 51.98 kB / 0.9676 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001739/0.8598, allocations: 0.807 MB / 0.9684 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001284/0.8611, allocations: 0.7702 MB / 0.9692 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002183/0.8633, allocations: 1.187 MB / 0.9703 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.325e-05/0.8634, allocations: 0 / 0.9703 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.002991/0.8664, allocations: 1.395 MB / 0.9717 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/0.8664, allocations: 39.42 kB / 0.9717 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.8664, allocations: 15.92 kB / 0.9717 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.8665, allocations: 12 kB / 0.9718 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.8675, allocations: 267.8 kB / 0.972 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.637e-05/0.8676, allocations: 19.94 kB / 0.972 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.869, allocations: 123.8 kB / 0.9721 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.753e-05/0.8691, allocations: 55.98 kB / 0.9722 GB, free: 2.988 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003178/0.8694, allocations: 244 kB / 0.9724 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004181/0.8698, allocations: 169.8 kB / 0.9726 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002747/0.8726, allocations: 1.165 MB / 0.9737 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002073/0.8747, allocations: 1.231 MB / 0.9749 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.8747, allocations: 0 / 0.9749 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000784/0.8755, allocations: 342.6 kB / 0.9753 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003261/0.8758, allocations: 23.94 kB / 0.9753 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.8769, allocations: 58.34 kB / 0.9753 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.877, allocations: 60.92 kB / 0.9754 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003037/0.8801, allocations: 1.178 MB / 0.9765 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00335/0.8834, allocations: 1.813 MB / 0.9783 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009286/0.8844, allocations: 475.7 kB / 0.9788 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001704/0.8861, allocations: 1.061 MB / 0.9798 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of Backend: time 8.22e-07/0.8861, allocations: 0 / 0.9798 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006643/0.8928, allocations: 2.462 MB / 0.9822 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of SimCode: time 0.007596/0.9004, allocations: 4.284 MB / 0.9864 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of Templates: time 0.06298/0.9634, allocations: 42.3 MB / 1.028 GB, free: 10.43 MB / 0.795 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)