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.0009792/0.0009793, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004888/0.004888, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9771/0.9771, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003435, allocations: 12 kB / 0.5076 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1925, allocations: 82.3 MB / 0.588 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.6221/0.8146, allocations: 201.8 MB / 0.785 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0209/0.8356, allocations: 13.64 MB / 0.7984 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002868/0.8385, allocations: 43.69 kB / 0.7984 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00253/0.841, allocations: 0.6488 MB / 0.799 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007138/0.8482, allocations: 2.052 MB / 0.801 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006057/0.8543, allocations: 1.827 MB / 0.8028 GB, free: 448 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005885/0.8602, allocations: 4.163 MB / 0.8069 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/0.862, allocations: 0.9736 MB / 0.8078 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005349/0.8673, allocations: 1.623 MB / 0.8094 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002235/0.8696, allocations: 1.009 MB / 0.8104 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.8698, allocations: 55.94 kB / 0.8105 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00652/0.8763, allocations: 3.185 MB / 0.8136 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005382/0.8768, allocations: 342.6 kB / 0.8139 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.8781, allocations: 0.7204 MB / 0.8146 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00637/0.8844, allocations: 3.096 MB / 0.8176 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.8845, allocations: 0 / 0.8176 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8845, allocations: 0 / 0.8176 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.696e-05/0.8845, allocations: 0 / 0.8176 GB, free: 1.215 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.004165/0.8887, allocations: 1.831 MB / 0.8194 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.8887, allocations: 8.031 kB / 0.8194 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00309/0.8918, allocations: 0.5678 MB / 0.82 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/0.894, allocations: 1.086 MB / 0.821 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006533/0.8947, allocations: 206.2 kB / 0.8212 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.8949, allocations: 96 kB / 0.8213 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/0.8975, allocations: 1.272 MB / 0.8226 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.8975, allocations: 3.938 kB / 0.8226 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.8976, allocations: 47.98 kB / 0.8226 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-05/0.8977, allocations: 45.91 kB / 0.8227 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002994/0.9007, allocations: 1.331 MB / 0.824 GB, free: 10.58 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.008671/0.9094, allocations: 4.903 MB / 0.8287 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002609/0.912, allocations: 1.041 MB / 0.8298 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.9133, allocations: 0.5801 MB / 0.8303 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/0.9145, allocations: 0.8656 MB / 0.8312 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001497/0.916, allocations: 0.7078 MB / 0.8319 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=85): time 3.727e-06/0.916, allocations: 8 kB / 0.8319 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85): time 0.004599/0.9207, allocations: 1.792 MB / 0.8336 GB, free: 168 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.9208, allocations: 115.5 kB / 0.8337 GB, free: 24 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.9222, allocations: 1.038 MB / 0.8347 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.9223, allocations: 49.64 kB / 0.8348 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004551/0.9228, allocations: 0.5203 MB / 0.8353 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/0.9231, allocations: 276.1 kB / 0.8356 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.9233, allocations: 85.67 kB / 0.8356 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.9235, allocations: 341.9 kB / 0.836 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.9247, allocations: 0.5173 MB / 0.8365 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.9263, allocations: 0.7193 MB / 0.8372 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002578/0.9288, allocations: 1.231 MB / 0.8384 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.9289, allocations: 4 kB / 0.8384 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003511/0.9324, allocations: 1.515 MB / 0.8399 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.000165/0.9326, allocations: 234.2 kB / 0.8401 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.9326, allocations: 4 kB / 0.8401 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.9326, allocations: 8 kB / 0.8401 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.9339, allocations: 267.6 kB / 0.8404 GB, free: 9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.9339, allocations: 4 kB / 0.8404 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.9355, allocations: 214.8 kB / 0.8406 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.9356, allocations: 47.97 kB / 0.8406 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.9356, allocations: 4 kB / 0.8406 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003139/0.9388, allocations: 1.417 MB / 0.842 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.9388, allocations: 7.922 kB / 0.842 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.9388, allocations: 8 kB / 0.842 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.94, allocations: 259.7 kB / 0.8423 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.9401, allocations: 19.92 kB / 0.8423 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.9415, allocations: 194.8 kB / 0.8425 GB, free: 6.828 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.7e-05/0.9416, allocations: 47.97 kB / 0.8425 GB, free: 6.781 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.0008401/0.9425, allocations: 468.2 kB / 0.843 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/0.9427, allocations: 130.4 kB / 0.8431 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003517/0.9462, allocations: 1.514 MB / 0.8446 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.9463, allocations: 8 kB / 0.8446 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.9463, allocations: 7.984 kB / 0.8446 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.9463, allocations: 3.984 kB / 0.8446 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005391/0.9517, allocations: 2.971 MB / 0.8475 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.9517, allocations: 0 / 0.8475 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009423/0.9527, allocations: 208.1 kB / 0.8477 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.9527, allocations: 8 kB / 0.8477 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.445e-05/0.9528, allocations: 35.91 kB / 0.8477 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/0.9528, allocations: 7.938 kB / 0.8477 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.9528, allocations: 7.938 kB / 0.8477 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004589/0.9574, allocations: 2.296 MB / 0.85 GB, free: 14.92 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000629/0.958, allocations: 347.2 kB / 0.8503 GB, free: 14.56 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.9582, allocations: 27.94 kB / 0.8503 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.9594, allocations: 139.8 kB / 0.8505 GB, free: 14.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.9595, allocations: 60.42 kB / 0.8505 GB, free: 14.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-05/0.9596, allocations: 51.91 kB / 0.8506 GB, free: 14.29 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001132/0.9608, allocations: 0.7049 MB / 0.8513 GB, free: 13.58 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9608, allocations: 0 / 0.8513 GB, free: 13.58 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002223/0.963, allocations: 0.7916 MB / 0.852 GB, free: 12.79 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.001156/0.9642, allocations: 0.5117 MB / 0.8525 GB, free: 12.28 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004769/0.969, allocations: 2.274 MB / 0.8548 GB, free: 9.957 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.969, allocations: 8.062 kB / 0.8548 GB, free: 9.949 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/0.9705, allocations: 0.7953 MB / 0.8555 GB, free: 9.133 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003212/0.9737, allocations: 0.5105 MB / 0.856 GB, free: 8.637 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005276/0.979, allocations: 2.94 MB / 0.8589 GB, free: 5.629 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007896/0.9798, allocations: 1.161 MB / 0.86 GB, free: 4.441 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001825/0.9816, allocations: 356.7 kB / 0.8604 GB, free: 4.102 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/0.982, allocations: 99.41 kB / 0.8605 GB, free: 4.004 MB / 0.67 GB Notification: Performance of SimCode: time 1.343e-06/0.982, allocations: 0 / 0.8605 GB, free: 4.004 MB / 0.67 GB Notification: Performance of Templates: time 0.3131/1.295, allocations: 25.4 MB / 0.8853 GB, free: 213.5 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)