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.0008867/0.0008865, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009162/0.0009163, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9421/0.9421, allocations: 135.3 MB / 426.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.000413, allocations: 12.62 kB / 0.507 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1892, allocations: 82.3 MB / 0.5874 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.5031/0.6923, allocations: 188.5 MB / 0.7715 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01887/0.7112, allocations: 12.65 MB / 0.7838 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002625/0.7139, allocations: 43.69 kB / 0.7839 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002417/0.7164, allocations: 0.5317 MB / 0.7844 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006375/0.7228, allocations: 1.664 MB / 0.786 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005758/0.7285, allocations: 1.613 MB / 0.7876 GB, free: 68 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00588/0.7344, allocations: 3.592 MB / 0.7911 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002152/0.7366, allocations: 0.8761 MB / 0.7919 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004856/0.7415, allocations: 1.451 MB / 0.7934 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002442/0.744, allocations: 0.9569 MB / 0.7943 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004798/0.7445, allocations: 55.98 kB / 0.7943 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005637/0.7501, allocations: 2.289 MB / 0.7966 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007578/0.7509, allocations: 338.6 kB / 0.7969 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008878/0.7518, allocations: 305 kB / 0.7972 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004288/0.7561, allocations: 2.155 MB / 0.7993 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7562, allocations: 0 / 0.7993 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7562, allocations: 0 / 0.7993 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.111e-05/0.7563, allocations: 0 / 0.7993 GB, free: 4.008 MB / 0.6075 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.004629/0.7609, allocations: 1.846 MB / 0.8011 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.761, allocations: 8.031 kB / 0.8011 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003123/0.7641, allocations: 0.564 MB / 0.8017 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.7666, allocations: 1.041 MB / 0.8027 GB, free: 436 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006137/0.7672, allocations: 214.1 kB / 0.8029 GB, free: 224 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/0.7675, allocations: 96 kB / 0.803 GB, free: 128 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002903/0.7704, allocations: 1.268 MB / 0.8042 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.7705, allocations: 0 / 0.8042 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.7706, allocations: 39.98 kB / 0.8042 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.217e-05/0.7707, allocations: 42 kB / 0.8043 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00314/0.7738, allocations: 1.323 MB / 0.8056 GB, free: 13.43 MB / 0.6231 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.008636/0.7825, allocations: 4.907 MB / 0.8104 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002388/0.7849, allocations: 1.031 MB / 0.8114 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.7861, allocations: 0.5847 MB / 0.812 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/0.7874, allocations: 0.8657 MB / 0.8128 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/0.7889, allocations: 0.7077 MB / 0.8135 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=85): time 3.757e-06/0.7889, allocations: 0 / 0.8135 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of matching and sorting (n=85): time 0.004499/0.7934, allocations: 1.777 MB / 0.8152 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.829e-05/0.7936, allocations: 119.5 kB / 0.8153 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.7955, allocations: 1.03 MB / 0.8163 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.7956, allocations: 49.7 kB / 0.8164 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006207/0.7963, allocations: 0.5203 MB / 0.8169 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003514/0.7966, allocations: 287.9 kB / 0.8172 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-05/0.7967, allocations: 16 kB / 0.8172 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.797, allocations: 338 kB / 0.8175 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.7983, allocations: 0.5172 MB / 0.818 GB, free: 112 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.7999, allocations: 0.7077 MB / 0.8187 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.8013, allocations: 0.5997 MB / 0.8193 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.8013, allocations: 4 kB / 0.8193 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003719/0.8051, allocations: 1.495 MB / 0.8208 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.8053, allocations: 242.2 kB / 0.821 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.8053, allocations: 0 / 0.821 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.8053, allocations: 8 kB / 0.821 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.8066, allocations: 267.6 kB / 0.8213 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.842e-05/0.8066, allocations: 16.61 kB / 0.8213 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.8083, allocations: 214.8 kB / 0.8215 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.8085, allocations: 43.98 kB / 0.8215 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.8085, allocations: 5.562 kB / 0.8215 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00312/0.8117, allocations: 1.405 MB / 0.8229 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.8117, allocations: 4.812 kB / 0.8229 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.8117, allocations: 8 kB / 0.8229 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.8129, allocations: 263.7 kB / 0.8232 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/0.8129, allocations: 15.69 kB / 0.8232 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.8144, allocations: 199 kB / 0.8234 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.8146, allocations: 47.97 kB / 0.8234 GB, free: 10.43 MB / 0.6387 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 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008523/0.8154, allocations: 464.2 kB / 0.8238 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003923/0.8158, allocations: 122.5 kB / 0.824 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003369/0.8192, allocations: 1.523 MB / 0.8255 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.8193, allocations: 8 kB / 0.8255 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.8193, allocations: 96 / 0.8255 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.8193, allocations: 15.91 kB / 0.8255 GB, free: 8.273 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00596/0.8253, allocations: 2.965 MB / 0.8284 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.8253, allocations: 8.062 kB / 0.8284 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000955/0.8263, allocations: 199.7 kB / 0.8286 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-05/0.8263, allocations: 8 kB / 0.8286 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.8264, allocations: 27.98 kB / 0.8286 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.184e-05/0.8264, allocations: 11.98 kB / 0.8286 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.8264, allocations: 7.938 kB / 0.8286 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004681/0.8311, allocations: 2.292 MB / 0.8309 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007071/0.8319, allocations: 355 kB / 0.8312 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/0.8321, allocations: 24 kB / 0.8312 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.8333, allocations: 127.8 kB / 0.8313 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.8335, allocations: 64.42 kB / 0.8314 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.8336, allocations: 51.92 kB / 0.8315 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001206/0.8348, allocations: 0.6971 MB / 0.8321 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8348, allocations: 0 / 0.8321 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002329/0.8372, allocations: 0.7839 MB / 0.8329 GB, free: 484 kB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001454/0.8386, allocations: 0.5052 MB / 0.8334 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004932/0.8436, allocations: 2.266 MB / 0.8356 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.8436, allocations: 0 / 0.8356 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/0.8451, allocations: 0.7879 MB / 0.8364 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/0.8482, allocations: 0.5239 MB / 0.8369 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005527/0.8538, allocations: 2.831 MB / 0.8397 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009502/0.8548, allocations: 1.153 MB / 0.8408 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001895/0.8567, allocations: 361.4 kB / 0.8411 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003833/0.8571, allocations: 107.4 kB / 0.8412 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of SimCode: time 2.004e-06/0.8571, allocations: 3.938 kB / 0.8412 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of Templates: time 0.3797/1.237, allocations: 24.72 MB / 0.8654 GB, free: 215.9 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)