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.001911/0.001911, allocations: 172.4 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.056/1.056, allocations: 133.6 MB / 141.6 MB, free: 2.848 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.763/1.763, allocations: 221.5 MB / 395.5 MB, free: 10.74 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.0009227/0.0009228, allocations: 99.61 kB / 478.2 MB, free: 1.266 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.685e-05/2.707e-05, allocations: 7.938 kB / 0.5536 GB, free: 8.902 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.449, allocations: 82.29 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.369/5.818, allocations: 2.157 GB / 2.791 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/5.819, allocations: 90.39 kB / 2.791 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.18/8.998, allocations: 0.9173 GB / 3.708 GB, free: 9.723 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/8.998, allocations: 0 / 3.708 GB, free: 9.723 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002441/8.999, allocations: 35.98 kB / 3.708 GB, free: 9.688 MB / 0.698 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.007424/9.006, allocations: 1.951 MB / 3.71 GB, free: 7.672 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/9.006, allocations: 12.56 kB / 3.71 GB, free: 7.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003766/9.01, allocations: 0.5221 MB / 3.711 GB, free: 7.137 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004313/9.014, allocations: 1.227 MB / 3.712 GB, free: 5.855 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007054/9.015, allocations: 169.9 kB / 3.712 GB, free: 5.688 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000466/9.015, allocations: 56 kB / 3.712 GB, free: 5.633 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002306/9.018, allocations: 0.9294 MB / 3.713 GB, free: 4.703 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/9.02, allocations: 1.035 MB / 3.714 GB, free: 3.641 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/9.02, allocations: 0 / 3.714 GB, free: 3.641 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/9.021, allocations: 4 kB / 3.714 GB, free: 3.637 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.024e-05/9.021, allocations: 41.98 kB / 3.714 GB, free: 3.598 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.6349/9.656, allocations: 4.9 MB / 3.719 GB, free: 85.65 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/9.657, allocations: 0.8223 MB / 3.72 GB, free: 85.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000852/9.658, allocations: 450.3 kB / 3.72 GB, free: 85.51 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/9.659, allocations: 0.8401 MB / 3.721 GB, free: 84.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/9.661, allocations: 0.6166 MB / 3.722 GB, free: 84.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 2.866e-06/9.661, allocations: 4.969 kB / 3.722 GB, free: 84.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.003749/9.664, allocations: 1.122 MB / 3.723 GB, free: 84.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/9.665, allocations: 147.8 kB / 3.723 GB, free: 84.33 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/9.666, allocations: 0.7419 MB / 3.724 GB, free: 84.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001392/9.666, allocations: 28.55 kB / 3.724 GB, free: 84.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005705/9.667, allocations: 0.5305 MB / 3.724 GB, free: 84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/9.667, allocations: 263.9 kB / 3.725 GB, free: 83.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.507e-05/9.667, allocations: 1.656 kB / 3.725 GB, free: 83.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001178/9.667, allocations: 352.4 kB / 3.725 GB, free: 83.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006413/9.668, allocations: 384.5 kB / 3.725 GB, free: 83.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007628/9.668, allocations: 0.5975 MB / 3.726 GB, free: 83.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/9.67, allocations: 0.5424 MB / 3.726 GB, free: 83.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/9.67, allocations: 0 / 3.726 GB, free: 83.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00272/9.673, allocations: 1.283 MB / 3.728 GB, free: 83.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000371/9.673, allocations: 1.204 MB / 3.729 GB, free: 81.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/9.673, allocations: 3.469 kB / 3.729 GB, free: 81.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/9.673, allocations: 7.344 kB / 3.729 GB, free: 81.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/9.675, allocations: 272.2 kB / 3.729 GB, free: 81.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/9.675, allocations: 9.641 kB / 3.729 GB, free: 81.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/9.676, allocations: 190.4 kB / 3.729 GB, free: 81.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/9.677, allocations: 56.73 kB / 3.729 GB, free: 81.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/9.677, allocations: 2.531 kB / 3.729 GB, free: 81.95 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002324/9.679, allocations: 1.178 MB / 3.73 GB, free: 81.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/9.679, allocations: 2.594 kB / 3.73 GB, free: 81.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/9.679, allocations: 11.91 kB / 3.73 GB, free: 81.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/9.68, allocations: 269.1 kB / 3.731 GB, free: 81.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/9.68, allocations: 10.62 kB / 3.731 GB, free: 81.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/9.682, allocations: 165.5 kB / 3.731 GB, free: 81.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/9.682, allocations: 55.62 kB / 3.731 GB, free: 81.91 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 () * 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.0003741/9.682, allocations: 195.2 kB / 3.731 GB, free: 81.74 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002417/9.685, allocations: 1.133 MB / 3.732 GB, free: 81.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/9.685, allocations: 120.8 kB / 3.732 GB, free: 81.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/9.688, allocations: 1.284 MB / 3.734 GB, free: 81.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/9.688, allocations: 9.406 kB / 3.734 GB, free: 81.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/9.688, allocations: 5.031 kB / 3.734 GB, free: 81.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/9.688, allocations: 3.281 kB / 3.734 GB, free: 81.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004811/9.693, allocations: 2.716 MB / 3.736 GB, free: 81.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/9.693, allocations: 1.625 kB / 3.736 GB, free: 81.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/9.694, allocations: 211.1 kB / 3.736 GB, free: 81.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/9.694, allocations: 5.25 kB / 3.736 GB, free: 81.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-05/9.694, allocations: 25.22 kB / 3.736 GB, free: 81.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/9.694, allocations: 7.5 kB / 3.736 GB, free: 81.01 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/9.694, allocations: 7.156 kB / 3.736 GB, free: 81.01 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/9.697, allocations: 2.121 MB / 3.739 GB, free: 80.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006559/9.698, allocations: 344.6 kB / 3.739 GB, free: 80.31 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002659/9.698, allocations: 13.12 kB / 3.739 GB, free: 80.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/9.699, allocations: 127.6 kB / 3.739 GB, free: 80.31 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/9.699, allocations: 74.5 kB / 3.739 GB, free: 80.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/9.7, allocations: 52.73 kB / 3.739 GB, free: 80.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009514/9.701, allocations: 0.5541 MB / 3.74 GB, free: 80.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/9.701, allocations: 0 / 3.74 GB, free: 80.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003736/9.704, allocations: 0.9398 MB / 3.741 GB, free: 80.16 MB / 0.698 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) * 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.01154/9.716, allocations: 5.824 MB / 3.746 GB, free: 77.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00422/9.72, allocations: 1.847 MB / 3.748 GB, free: 77.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/9.72, allocations: 1.281 kB / 3.748 GB, free: 77.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/9.721, allocations: 0.64 MB / 3.749 GB, free: 77.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/9.724, allocations: 422 kB / 3.749 GB, free: 77.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007601/9.732, allocations: 2.078 MB / 3.751 GB, free: 76.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/9.733, allocations: 1.183 MB / 3.752 GB, free: 76.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002773/9.736, allocations: 404.3 kB / 3.753 GB, free: 76.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008426/9.737, allocations: 477.9 kB / 3.753 GB, free: 76.08 MB / 0.698 GB Notification: Performance of SimCode: time 1.412e-06/9.737, allocations: 0 / 3.753 GB, free: 76.08 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08983/9.827, allocations: 47.03 MB / 3.799 GB, free: 74.91 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/9.827, allocations: 190.8 kB / 3.799 GB, free: 74.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.877/13.7, allocations: 0 / 3.799 GB, free: 74.71 MB / 0.698 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)