Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="IDEAS_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.001907/0.001907, allocations: 174.7 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.7635/0.7635, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.448/1.448, allocations: 221.3 MB / 400.4 MB, free: 5.859 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.000909/0.0009092, allocations: 86.27 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.149e-05, allocations: 3.25 kB / 0.5601 GB, free: 87.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.158, allocations: 82.31 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.08/6.238, allocations: 2.158 GB / 2.798 GB, free: 199 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/6.238, allocations: 89.22 kB / 2.798 GB, free: 199 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.554/9.792, allocations: 0.9261 GB / 3.725 GB, free: 86.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/9.792, allocations: 0 / 3.725 GB, free: 86.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002239/9.792, allocations: 40.67 kB / 3.725 GB, free: 86.28 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.007469/9.8, allocations: 1.952 MB / 3.726 GB, free: 85.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/9.8, allocations: 15.03 kB / 3.727 GB, free: 85.13 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005679/9.801, allocations: 136.3 kB / 3.727 GB, free: 85.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003608/9.804, allocations: 0.5287 MB / 3.727 GB, free: 85.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004348/9.809, allocations: 1.218 MB / 3.728 GB, free: 84.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007166/9.809, allocations: 205.5 kB / 3.729 GB, free: 84.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004964/9.81, allocations: 103.3 kB / 3.729 GB, free: 84.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003018/9.813, allocations: 1.155 MB / 3.73 GB, free: 84.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/9.813, allocations: 3.938 kB / 3.73 GB, free: 84.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/9.813, allocations: 35.81 kB / 3.73 GB, free: 84.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.046e-05/9.813, allocations: 40.41 kB / 3.73 GB, free: 84.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/9.815, allocations: 1.017 MB / 3.731 GB, free: 84.47 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.01113/9.826, allocations: 5.115 MB / 3.736 GB, free: 82.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/9.828, allocations: 0.7802 MB / 3.737 GB, free: 82.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007154/9.829, allocations: 476 kB / 3.737 GB, free: 82.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/9.83, allocations: 0.8366 MB / 3.738 GB, free: 81.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009234/9.831, allocations: 0.6006 MB / 3.738 GB, free: 81.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 4.138e-06/9.831, allocations: 1.875 kB / 3.738 GB, free: 81.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.002626/9.834, allocations: 1.113 MB / 3.74 GB, free: 81.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/9.834, allocations: 121.8 kB / 3.74 GB, free: 81.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/9.835, allocations: 0.8897 MB / 3.741 GB, free: 80.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001874/9.836, allocations: 47.86 kB / 3.741 GB, free: 80.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006258/9.836, allocations: 0.5247 MB / 3.741 GB, free: 80.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/9.837, allocations: 284.6 kB / 3.741 GB, free: 80.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.711e-05/9.837, allocations: 18.22 kB / 3.741 GB, free: 80.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001054/9.837, allocations: 340.3 kB / 3.742 GB, free: 80.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007011/9.838, allocations: 409.1 kB / 3.742 GB, free: 80.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008862/9.838, allocations: 0.6192 MB / 3.743 GB, free: 79.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008312/9.839, allocations: 0.4953 MB / 3.743 GB, free: 79.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/9.839, allocations: 0 / 3.743 GB, free: 79.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002527/9.842, allocations: 1.3 MB / 3.744 GB, free: 79.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003543/9.842, allocations: 1.117 MB / 3.746 GB, free: 78.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/9.842, allocations: 3.938 kB / 3.746 GB, free: 78.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.992e-05/9.842, allocations: 11.42 kB / 3.746 GB, free: 78.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/9.844, allocations: 269.1 kB / 3.746 GB, free: 78.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.883e-05/9.844, allocations: 11.5 kB / 3.746 GB, free: 78.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/9.846, allocations: 217.5 kB / 3.746 GB, free: 78.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/9.846, allocations: 52.27 kB / 3.746 GB, free: 78.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/9.846, allocations: 7.375 kB / 3.746 GB, free: 78.46 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00198/9.848, allocations: 1.203 MB / 3.747 GB, free: 78.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/9.848, allocations: 3.469 kB / 3.747 GB, free: 78.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/9.848, allocations: 6.969 kB / 3.747 GB, free: 78.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/9.849, allocations: 270.7 kB / 3.748 GB, free: 78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/9.849, allocations: 6.969 kB / 3.748 GB, free: 78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/9.851, allocations: 198.5 kB / 3.748 GB, free: 77.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/9.851, allocations: 56.16 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.0004358/9.852, allocations: 236.3 kB / 3.748 GB, free: 77.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004755/9.852, allocations: 132.3 kB / 3.748 GB, free: 77.65 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002539/9.855, allocations: 1.318 MB / 3.749 GB, free: 77.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/9.855, allocations: 12.64 kB / 3.749 GB, free: 77.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/9.855, allocations: 0 / 3.749 GB, free: 77.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/9.855, allocations: 7.266 kB / 3.749 GB, free: 77.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005408/9.86, allocations: 2.811 MB / 3.752 GB, free: 75.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/9.86, allocations: 3.781 kB / 3.752 GB, free: 75.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/9.861, allocations: 210.8 kB / 3.752 GB, free: 75.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-05/9.861, allocations: 7.812 kB / 3.752 GB, free: 75.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/9.861, allocations: 34.62 kB / 3.752 GB, free: 75.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/9.861, allocations: 3.875 kB / 3.752 GB, free: 75.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/9.861, allocations: 7.859 kB / 3.752 GB, free: 75.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003454/9.865, allocations: 2.173 MB / 3.755 GB, free: 74.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/9.866, allocations: 358.2 kB / 3.755 GB, free: 74.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004182/9.866, allocations: 27.66 kB / 3.755 GB, free: 74.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/9.868, allocations: 139.2 kB / 3.755 GB, free: 74.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/9.868, allocations: 68.45 kB / 3.755 GB, free: 74.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/9.868, allocations: 48.23 kB / 3.755 GB, free: 74.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001511/9.87, allocations: 0.6878 MB / 3.756 GB, free: 73.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/9.87, allocations: 0 / 3.756 GB, free: 73.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004956/9.875, allocations: 1.005 MB / 3.757 GB, free: 72.85 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.008357/9.883, allocations: 5.693 MB / 3.762 GB, free: 67.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00325/9.887, allocations: 1.944 MB / 3.764 GB, free: 65.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/9.887, allocations: 4 kB / 3.764 GB, free: 65.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008668/9.887, allocations: 0.6684 MB / 3.765 GB, free: 64.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/9.891, allocations: 0.5045 MB / 3.765 GB, free: 64.51 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006369/9.897, allocations: 2.18 MB / 3.768 GB, free: 62.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008311/9.898, allocations: 1.179 MB / 3.769 GB, free: 61.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002535/9.9, allocations: 442.5 kB / 3.769 GB, free: 61.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007319/9.901, allocations: 483.1 kB / 3.77 GB, free: 60.73 MB / 0.698 GB Notification: Performance of SimCode: time 1.493e-06/9.901, allocations: 0 / 3.77 GB, free: 60.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/10.02, allocations: 69.31 MB / 3.837 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/10.02, allocations: 199.6 kB / 3.837 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.573/14.59, allocations: 0 / 3.837 GB, free: 8.324 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)