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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007798/0.007797, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7606/0.7606, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.2 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 90.62 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003689, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.509/0.5094, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.646/6.155, allocations: 2.158 GB / 2.807 GB, free: 33.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/6.155, allocations: 92.73 kB / 2.808 GB, free: 33.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.627/9.783, allocations: 0.9276 GB / 3.735 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.164e-06/9.783, allocations: 0 / 3.735 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001712/9.783, allocations: 40.14 kB / 3.735 GB, free: 104.8 MB / 0.7136 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.009329/9.792, allocations: 2.179 MB / 3.737 GB, free: 103.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/9.792, allocations: 6.844 kB / 3.737 GB, free: 103.7 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005431/9.793, allocations: 147.9 kB / 3.737 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004866/9.798, allocations: 0.5217 MB / 3.738 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004978/9.803, allocations: 1.232 MB / 3.739 GB, free: 103.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009633/9.804, allocations: 206.6 kB / 3.739 GB, free: 103.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004121/9.804, allocations: 100.6 kB / 3.739 GB, free: 103.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003925/9.808, allocations: 1.289 MB / 3.741 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/9.808, allocations: 3.953 kB / 3.741 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/9.808, allocations: 39.58 kB / 3.741 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.471e-05/9.808, allocations: 40.11 kB / 3.741 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004418/9.813, allocations: 1.282 MB / 3.742 GB, free: 103.1 MB / 0.7136 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.013/9.826, allocations: 5.105 MB / 3.747 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002718/9.829, allocations: 1.084 MB / 3.748 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/9.83, allocations: 0.8429 MB / 3.749 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001441/9.831, allocations: 0.7271 MB / 3.75 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=85): time 2.846e-06/9.831, allocations: 0 / 3.75 GB, free: 100.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85): time 0.004513/9.836, allocations: 2.033 MB / 3.752 GB, free: 99.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/9.836, allocations: 116.4 kB / 3.752 GB, free: 99.58 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/9.837, allocations: 0.9 MB / 3.753 GB, free: 99.44 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001527/9.837, allocations: 50.39 kB / 3.753 GB, free: 99.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004143/9.838, allocations: 0.5332 MB / 3.753 GB, free: 99.21 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/9.838, allocations: 281.2 kB / 3.753 GB, free: 99.03 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.508e-05/9.838, allocations: 15.44 kB / 3.753 GB, free: 99.03 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.301e-05/9.838, allocations: 352.4 kB / 3.754 GB, free: 98.72 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/9.839, allocations: 0.5315 MB / 3.754 GB, free: 98.72 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/9.841, allocations: 0.7537 MB / 3.755 GB, free: 98.51 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/9.842, allocations: 0.6344 MB / 3.756 GB, free: 98.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/9.842, allocations: 2.156 kB / 3.756 GB, free: 98.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.004385/9.846, allocations: 1.568 MB / 3.757 GB, free: 98.26 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003038/9.847, allocations: 1.115 MB / 3.758 GB, free: 97.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/9.847, allocations: 9.125 kB / 3.758 GB, free: 97.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.335e-05/9.847, allocations: 6.719 kB / 3.758 GB, free: 97.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/9.848, allocations: 273.2 kB / 3.758 GB, free: 97.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/9.848, allocations: 4.625 kB / 3.758 GB, free: 97.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/9.85, allocations: 223.2 kB / 3.759 GB, free: 97.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/9.85, allocations: 54.7 kB / 3.759 GB, free: 97.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/9.85, allocations: 9.734 kB / 3.759 GB, free: 97.04 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00305/9.853, allocations: 1.484 MB / 3.76 GB, free: 96.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/9.853, allocations: 2.656 kB / 3.76 GB, free: 96.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/9.853, allocations: 7.25 kB / 3.76 GB, free: 96.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/9.855, allocations: 270.1 kB / 3.76 GB, free: 96.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/9.855, allocations: 7.438 kB / 3.76 GB, free: 96.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/9.856, allocations: 204.4 kB / 3.761 GB, free: 96.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/9.856, allocations: 51.06 kB / 3.761 GB, free: 96.91 MB / 0.7136 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.000855/9.857, allocations: 460.9 kB / 3.761 GB, free: 96.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/9.857, allocations: 133.4 kB / 3.761 GB, free: 96.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003254/9.861, allocations: 1.594 MB / 3.763 GB, free: 96.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/9.861, allocations: 6.75 kB / 3.763 GB, free: 96.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/9.861, allocations: 0 / 3.763 GB, free: 96.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/9.861, allocations: 10.16 kB / 3.763 GB, free: 96.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005507/9.866, allocations: 3.056 MB / 3.766 GB, free: 95.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/9.866, allocations: 3.25 kB / 3.766 GB, free: 95.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009608/9.867, allocations: 210.2 kB / 3.766 GB, free: 95.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/9.867, allocations: 6.156 kB / 3.766 GB, free: 95.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.54e-05/9.867, allocations: 37.08 kB / 3.766 GB, free: 95.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/9.867, allocations: 9.031 kB / 3.766 GB, free: 95.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/9.867, allocations: 9.156 kB / 3.766 GB, free: 95.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00456/9.872, allocations: 2.561 MB / 3.769 GB, free: 95.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/9.873, allocations: 362.6 kB / 3.769 GB, free: 95.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/9.873, allocations: 32.03 kB / 3.769 GB, free: 95.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/9.875, allocations: 139.6 kB / 3.769 GB, free: 95.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/9.875, allocations: 60.06 kB / 3.769 GB, free: 95.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/9.875, allocations: 52.17 kB / 3.769 GB, free: 95.13 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001091/9.876, allocations: 0.702 MB / 3.77 GB, free: 95.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.41e-07/9.876, allocations: 3.656 kB / 3.77 GB, free: 95.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003554/9.88, allocations: 1.006 MB / 3.771 GB, free: 94.9 MB / 0.7136 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.008814/9.888, allocations: 6.064 MB / 3.777 GB, free: 92.33 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004895/9.893, allocations: 2.318 MB / 3.779 GB, free: 92.06 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/9.893, allocations: 0 / 3.779 GB, free: 92.06 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/9.895, allocations: 0.8 MB / 3.78 GB, free: 91.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/9.897, allocations: 0.4955 MB / 3.78 GB, free: 91.92 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007182/9.905, allocations: 5.259 MB / 3.785 GB, free: 88.59 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006122/9.905, allocations: 1.183 MB / 3.787 GB, free: 87.86 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001878/9.907, allocations: 369.4 kB / 3.787 GB, free: 87.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000674/9.908, allocations: 0.4912 MB / 3.787 GB, free: 87.78 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/9.908, allocations: 0 / 3.787 GB, free: 87.78 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09686/10, allocations: 62.45 MB / 3.848 GB, free: 48.67 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/10, allocations: 231.9 kB / 3.849 GB, free: 48.43 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.384/15.39, allocations: 0 / 3.849 GB, free: 48.43 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)