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.0018/0.0018, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7721/0.7721, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.582/1.582, allocations: 221.3 MB / 400.4 MB, free: 5.754 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008206/0.0008206, allocations: 85.92 kB / 483.3 MB, free: 5.789 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.55e-05/3.552e-05, allocations: 2.438 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1541, allocations: 82.31 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.668/5.822, allocations: 2.158 GB / 2.798 GB, free: 199 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/5.822, allocations: 90.91 kB / 2.798 GB, free: 199 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.489/9.311, allocations: 0.9261 GB / 3.725 GB, free: 86.22 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.314e-06/9.311, allocations: 0 / 3.725 GB, free: 86.22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000305/9.312, allocations: 39.67 kB / 3.725 GB, free: 86.21 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.008851/9.321, allocations: 1.948 MB / 3.726 GB, free: 85.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/9.321, allocations: 11.56 kB / 3.726 GB, free: 85.07 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005071/9.321, allocations: 140.2 kB / 3.727 GB, free: 85.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003577/9.325, allocations: 0.5273 MB / 3.727 GB, free: 84.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004487/9.329, allocations: 1.218 MB / 3.728 GB, free: 84.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007078/9.33, allocations: 207.4 kB / 3.729 GB, free: 84.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004332/9.33, allocations: 100.5 kB / 3.729 GB, free: 84.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/9.333, allocations: 1.16 MB / 3.73 GB, free: 84.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/9.333, allocations: 0 / 3.73 GB, free: 84.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/9.333, allocations: 34.91 kB / 3.73 GB, free: 84.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.853e-05/9.333, allocations: 39.25 kB / 3.73 GB, free: 84.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/9.335, allocations: 1.017 MB / 3.731 GB, free: 84.41 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.01053/9.345, allocations: 5.112 MB / 3.736 GB, free: 82.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/9.347, allocations: 0.7841 MB / 3.737 GB, free: 82.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007164/9.347, allocations: 474.2 kB / 3.737 GB, free: 82.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/9.348, allocations: 0.8482 MB / 3.738 GB, free: 81.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008665/9.349, allocations: 0.5987 MB / 3.738 GB, free: 81.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 4.017e-06/9.349, allocations: 3.938 kB / 3.738 GB, free: 81.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.002389/9.352, allocations: 1.115 MB / 3.74 GB, free: 81.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/9.352, allocations: 117.2 kB / 3.74 GB, free: 80.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/9.353, allocations: 0.889 MB / 3.741 GB, free: 80.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001674/9.354, allocations: 46.17 kB / 3.741 GB, free: 80.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005612/9.354, allocations: 0.5294 MB / 3.741 GB, free: 80.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/9.354, allocations: 273.5 kB / 3.741 GB, free: 80.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.919e-05/9.354, allocations: 19.94 kB / 3.741 GB, free: 80.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001014/9.355, allocations: 344.1 kB / 3.742 GB, free: 80.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000672/9.355, allocations: 405.7 kB / 3.742 GB, free: 80.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008083/9.356, allocations: 0.6208 MB / 3.743 GB, free: 79.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007512/9.357, allocations: 0.4974 MB / 3.743 GB, free: 79.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/9.357, allocations: 0 / 3.743 GB, free: 79.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002384/9.359, allocations: 1.296 MB / 3.744 GB, free: 79.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003724/9.36, allocations: 1.117 MB / 3.746 GB, free: 78.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/9.36, allocations: 2.719 kB / 3.746 GB, free: 78.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.271e-05/9.36, allocations: 11.42 kB / 3.746 GB, free: 78.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/9.361, allocations: 271.1 kB / 3.746 GB, free: 78.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-05/9.361, allocations: 7.688 kB / 3.746 GB, free: 78.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/9.363, allocations: 219.7 kB / 3.746 GB, free: 78.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/9.363, allocations: 63.08 kB / 3.746 GB, free: 78.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/9.363, allocations: 4.156 kB / 3.746 GB, free: 78.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001945/9.365, allocations: 1.2 MB / 3.747 GB, free: 78.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/9.365, allocations: 3.875 kB / 3.747 GB, free: 78.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/9.365, allocations: 11.28 kB / 3.747 GB, free: 78.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/9.366, allocations: 266.3 kB / 3.748 GB, free: 77.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/9.366, allocations: 10.66 kB / 3.748 GB, free: 77.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/9.368, allocations: 197.2 kB / 3.748 GB, free: 77.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/9.368, allocations: 53.91 kB / 3.748 GB, free: 77.93 MB / 0.698 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 () * 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.0003702/9.369, allocations: 238.8 kB / 3.748 GB, free: 77.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003886/9.369, allocations: 131.5 kB / 3.748 GB, free: 77.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/9.371, allocations: 1.322 MB / 3.749 GB, free: 77.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/9.371, allocations: 7.625 kB / 3.749 GB, free: 77.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/9.372, allocations: 3.344 kB / 3.749 GB, free: 77.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/9.372, allocations: 6.906 kB / 3.749 GB, free: 77.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004846/9.376, allocations: 2.812 MB / 3.752 GB, free: 75.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/9.376, allocations: 3.781 kB / 3.752 GB, free: 75.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/9.377, allocations: 206.4 kB / 3.752 GB, free: 75.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.966e-05/9.377, allocations: 3.969 kB / 3.752 GB, free: 75.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.764e-05/9.378, allocations: 37.22 kB / 3.752 GB, free: 75.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-05/9.378, allocations: 11.69 kB / 3.752 GB, free: 75.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/9.378, allocations: 3.375 kB / 3.752 GB, free: 75.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003362/9.381, allocations: 2.174 MB / 3.755 GB, free: 74.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009702/9.382, allocations: 360 kB / 3.755 GB, free: 74.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003655/9.382, allocations: 26.58 kB / 3.755 GB, free: 74.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/9.384, allocations: 131.9 kB / 3.755 GB, free: 74.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/9.384, allocations: 66.33 kB / 3.755 GB, free: 74.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/9.384, allocations: 50.17 kB / 3.755 GB, free: 74.31 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001319/9.385, allocations: 0.6861 MB / 3.756 GB, free: 73.87 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/9.386, allocations: 4 kB / 3.756 GB, free: 73.87 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004548/9.39, allocations: 1.012 MB / 3.757 GB, free: 72.88 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.008031/9.398, allocations: 5.692 MB / 3.762 GB, free: 67.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003172/9.401, allocations: 1.942 MB / 3.764 GB, free: 65.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/9.401, allocations: 0 / 3.764 GB, free: 65.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008479/9.402, allocations: 0.6684 MB / 3.765 GB, free: 64.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003089/9.405, allocations: 0.5112 MB / 3.765 GB, free: 64.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006206/9.412, allocations: 2.163 MB / 3.768 GB, free: 62.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007126/9.412, allocations: 1.184 MB / 3.769 GB, free: 61.51 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002373/9.415, allocations: 437.1 kB / 3.769 GB, free: 61.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007273/9.415, allocations: 490 kB / 3.77 GB, free: 60.77 MB / 0.698 GB Notification: Performance of SimCode: time 1.262e-06/9.415, allocations: 0 / 3.77 GB, free: 60.77 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1156/9.531, allocations: 69.32 MB / 3.837 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/9.531, allocations: 203.9 kB / 3.837 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.721/14.25, allocations: 0 / 3.837 GB, free: 8.379 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)