Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.005385/0.005385, allocations: 170.7 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7381/0.7381, allocations: 135.2 MB / 151 MB, free: 13.8 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.497/1.497, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.0009882/0.0009883, allocations: 100.3 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.000378, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4658/0.4662, allocations: 82.31 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.622, allocations: 113.3 MB / 0.7601 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.6222, allocations: 79.95 kB / 0.7602 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01579/0.638, allocations: 5.35 MB / 0.7654 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6381, allocations: 0 / 0.7654 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.6381, allocations: 0 / 0.7654 GB, free: 13.25 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005397/0.6387, allocations: 418.9 kB / 0.7658 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.6387, allocations: 12.03 kB / 0.7659 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.827e-05/0.6388, allocations: 34.56 kB / 0.7659 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.6389, allocations: 7.906 kB / 0.7659 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.6391, allocations: 198.8 kB / 0.7661 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.6392, allocations: 0 / 0.7661 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.6392, allocations: 4 kB / 0.7661 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.6394, allocations: 65.61 kB / 0.7661 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.6394, allocations: 3.984 kB / 0.7662 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.6394, allocations: 7.984 kB / 0.7662 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.6394, allocations: 0 / 0.7662 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.6396, allocations: 55.97 kB / 0.7662 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.6401, allocations: 312.7 kB / 0.7665 GB, free: 12 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.6402, allocations: 58.48 kB / 0.7666 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.6403, allocations: 4 kB / 0.7666 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.6403, allocations: 34.69 kB / 0.7666 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.6403, allocations: 0 / 0.7666 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0003637/0.6407, allocations: 117.6 kB / 0.7667 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.6407, allocations: 59.3 kB / 0.7668 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.6408, allocations: 119.5 kB / 0.7669 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.6409, allocations: 25.7 kB / 0.7669 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.6409, allocations: 96.14 kB / 0.767 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.641, allocations: 23.73 kB / 0.767 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.641, allocations: 3.938 kB / 0.767 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.6411, allocations: 314.8 kB / 0.7673 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.749e-05/0.6412, allocations: 23.98 kB / 0.7674 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.301e-05/0.6413, allocations: 31.97 kB / 0.7674 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.797e-05/0.6414, allocations: 28 kB / 0.7674 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.6414, allocations: 3.984 kB / 0.7674 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002154/0.6416, allocations: 97.52 kB / 0.7675 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.6416, allocations: 8 kB / 0.7675 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6416, allocations: 0 / 0.7675 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.6416, allocations: 0 / 0.7675 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.6418, allocations: 15.98 kB / 0.7675 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.6418, allocations: 0 / 0.7675 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.909e-05/0.6419, allocations: 15.94 kB / 0.7675 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.6419, allocations: 7.922 kB / 0.7676 GB, free: 10.86 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 8.681e-05/0.642, allocations: 113.8 kB / 0.7677 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.642, allocations: 11.91 kB / 0.7677 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.6423, allocations: 106 kB / 0.7678 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.6423, allocations: 0 / 0.7678 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6423, allocations: 0.5 kB / 0.7678 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.6423, allocations: 4 kB / 0.7678 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.6425, allocations: 189.5 kB / 0.768 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6425, allocations: 0 / 0.768 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.312e-05/0.6426, allocations: 23.92 kB / 0.768 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6426, allocations: 0 / 0.768 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.6426, allocations: 0 / 0.768 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6427, allocations: 4 kB / 0.768 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6427, allocations: 0 / 0.768 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.643, allocations: 199.4 kB / 0.7682 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.643, allocations: 77.11 kB / 0.7682 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.643, allocations: 4 kB / 0.7683 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.273e-05/0.6431, allocations: 11.98 kB / 0.7683 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.6432, allocations: 3.938 kB / 0.7683 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.6432, allocations: 7.984 kB / 0.7683 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.131e-05/0.6433, allocations: 104.6 kB / 0.7684 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6433, allocations: 0 / 0.7684 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002368/0.6435, allocations: 31.94 kB / 0.7684 GB, free: 9.891 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005907/0.6441, allocations: 0.7436 MB / 0.7691 GB, free: 9.117 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.6443, allocations: 63.95 kB / 0.7692 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6443, allocations: 0 / 0.7692 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.793e-05/0.6444, allocations: 39.92 kB / 0.7692 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.6447, allocations: 7.984 kB / 0.7692 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006283/0.6453, allocations: 426.7 kB / 0.7696 GB, free: 8.543 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.6456, allocations: 0.7062 MB / 0.7703 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.343e-05/0.6456, allocations: 12.17 kB / 0.7703 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.6457, allocations: 23.42 kB / 0.7704 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.6457, allocations: 0 / 0.7704 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.6583, allocations: 1.94 MB / 0.7723 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.6586, allocations: 183.7 kB / 0.7724 GB, free: 5.727 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.311, allocations: 6.109 kB / 0.7724 GB, free: 5.723 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)