Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 97.39 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 183.7 kB / 16.92 MB, free: 6.707 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.387/1.387, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.976/0.976, allocations: 135.3 MB / 427.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003722, allocations: 8.625 kB / 0.5082 GB, free: 4.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1712, allocations: 82.3 MB / 0.5886 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.541/0.7123, allocations: 201.8 MB / 0.7857 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01893/0.7313, allocations: 13.63 MB / 0.799 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.7335, allocations: 47.69 kB / 0.799 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002167/0.7357, allocations: 0.6488 MB / 0.7997 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006151/0.7418, allocations: 2.054 MB / 0.8017 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005364/0.7472, allocations: 1.836 MB / 0.8035 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005499/0.7527, allocations: 4.155 MB / 0.8075 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001804/0.7546, allocations: 0.9775 MB / 0.8085 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004846/0.7594, allocations: 1.614 MB / 0.8101 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.7617, allocations: 1.022 MB / 0.8111 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002648/0.7619, allocations: 56 kB / 0.8111 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005845/0.7678, allocations: 3.177 MB / 0.8142 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005673/0.7684, allocations: 354.5 kB / 0.8145 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.7695, allocations: 0.7127 MB / 0.8152 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003699/0.7732, allocations: 2.237 MB / 0.8174 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.7733, allocations: 0 / 0.8174 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7733, allocations: 0 / 0.8174 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.945e-05/0.7733, allocations: 0 / 0.8174 GB, free: 2.141 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.004071/0.7774, allocations: 1.839 MB / 0.8192 GB, free: 240 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.7774, allocations: 8.031 kB / 0.8192 GB, free: 232 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003164/0.7806, allocations: 0.5639 MB / 0.8198 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/0.7829, allocations: 1.082 MB / 0.8208 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006903/0.7836, allocations: 210.1 kB / 0.821 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.7838, allocations: 99.98 kB / 0.8211 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002631/0.7865, allocations: 1.272 MB / 0.8224 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.7865, allocations: 0 / 0.8224 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.7866, allocations: 36 kB / 0.8224 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.185e-05/0.7867, allocations: 49.92 kB / 0.8225 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0031/0.7898, allocations: 1.323 MB / 0.8238 GB, free: 11.52 MB / 0.6387 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.008298/0.7981, allocations: 4.915 MB / 0.8286 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/0.8007, allocations: 1.042 MB / 0.8296 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.802, allocations: 0.5762 MB / 0.8301 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/0.8032, allocations: 0.8734 MB / 0.831 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/0.8047, allocations: 0.6961 MB / 0.8317 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=85): time 3.155e-06/0.8047, allocations: 7.938 kB / 0.8317 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85): time 0.004364/0.8091, allocations: 1.792 MB / 0.8334 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.8092, allocations: 115.5 kB / 0.8335 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.8106, allocations: 1.042 MB / 0.8345 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.8107, allocations: 49.64 kB / 0.8346 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/0.8112, allocations: 0.5242 MB / 0.8351 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.8115, allocations: 276.1 kB / 0.8354 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.8116, allocations: 89.5 kB / 0.8355 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.8117, allocations: 337.9 kB / 0.8358 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.813, allocations: 0.5173 MB / 0.8363 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.8145, allocations: 0.722 MB / 0.837 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002624/0.8172, allocations: 1.231 MB / 0.8382 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.8172, allocations: 4 kB / 0.8382 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003528/0.8207, allocations: 1.515 MB / 0.8397 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.8209, allocations: 230.2 kB / 0.8399 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.8209, allocations: 4 kB / 0.8399 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.8209, allocations: 4 kB / 0.8399 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.8222, allocations: 271.6 kB / 0.8402 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.8222, allocations: 7.938 kB / 0.8402 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.8239, allocations: 214.8 kB / 0.8404 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.824, allocations: 47.97 kB / 0.8404 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.824, allocations: 4 kB / 0.8404 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003205/0.8272, allocations: 1.417 MB / 0.8418 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.8272, allocations: 7.922 kB / 0.8418 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.8273, allocations: 8 kB / 0.8418 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.8285, allocations: 259.7 kB / 0.8421 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.8285, allocations: 7.984 kB / 0.8421 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.83, allocations: 199 kB / 0.8423 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.8301, allocations: 47.97 kB / 0.8423 GB, free: 7.707 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 (hex.flowRegime_nominal,hex.flowRegime,mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * 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.0007775/0.8309, allocations: 460.3 kB / 0.8428 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.8312, allocations: 134.4 kB / 0.8429 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003307/0.8345, allocations: 1.516 MB / 0.8444 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.8345, allocations: 8 kB / 0.8444 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/0.8346, allocations: 3.984 kB / 0.8444 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.8346, allocations: 7.922 kB / 0.8444 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005246/0.8398, allocations: 2.964 MB / 0.8473 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.8399, allocations: 7.938 kB / 0.8473 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00097/0.8408, allocations: 208.1 kB / 0.8475 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/0.8409, allocations: 8 kB / 0.8475 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.378e-05/0.8409, allocations: 35.91 kB / 0.8475 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.841, allocations: 8 kB / 0.8475 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.841, allocations: 4.094 kB / 0.8475 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004582/0.8456, allocations: 2.299 MB / 0.8498 GB, free: 15.85 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006763/0.8462, allocations: 351.1 kB / 0.8501 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.8464, allocations: 27.94 kB / 0.8501 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.8476, allocations: 135.8 kB / 0.8503 GB, free: 15.32 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.8477, allocations: 64.42 kB / 0.8503 GB, free: 15.26 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.519e-05/0.8478, allocations: 47.97 kB / 0.8504 GB, free: 15.21 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009698/0.8488, allocations: 0.701 MB / 0.8511 GB, free: 14.51 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8488, allocations: 4 kB / 0.8511 GB, free: 14.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002054/0.8509, allocations: 0.7916 MB / 0.8518 GB, free: 13.71 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001158/0.852, allocations: 0.5108 MB / 0.8523 GB, free: 13.21 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004738/0.8568, allocations: 2.274 MB / 0.8546 GB, free: 10.88 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.8568, allocations: 4.062 kB / 0.8546 GB, free: 10.88 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.8583, allocations: 0.7914 MB / 0.8553 GB, free: 10.07 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/0.8617, allocations: 0.5046 MB / 0.8558 GB, free: 9.574 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/0.867, allocations: 3.008 MB / 0.8588 GB, free: 6.492 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008799/0.8679, allocations: 1.153 MB / 0.8599 GB, free: 5.312 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000503/0.8685, allocations: 111.4 kB / 0.86 GB, free: 5.203 MB / 0.67 GB Notification: Performance of SimCode: time 6.11e-07/0.8685, allocations: 0 / 0.86 GB, free: 5.203 MB / 0.67 GB Notification: Performance of Templates: time 0.3059/1.174, allocations: 22.59 MB / 0.8821 GB, free: 213.7 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)