Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.0009411/0.0009415, allocations: 178.4 kB / 7.65 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 0.7993/0.7993, allocations: 133.6 MB / 141.6 MB, free: 2.883 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.599/1.599, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.0009378/0.0009378, allocations: 94.98 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.377e-05, allocations: 4 kB / 0.5536 GB, free: 8.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4868/0.4869, allocations: 82.31 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/0.6459, allocations: 113 MB / 0.7443 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.6461, allocations: 87.94 kB / 0.7444 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02247/0.6686, allocations: 7.588 MB / 0.7518 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6687, allocations: 0 / 0.7518 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.701e-05/0.6687, allocations: 8 kB / 0.7518 GB, free: 1.906 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008908/0.6696, allocations: 0.5526 MB / 0.7524 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.6696, allocations: 12.03 kB / 0.7524 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.6699, allocations: 31.62 kB / 0.7524 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.6704, allocations: 302.6 kB / 0.7527 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.6704, allocations: 4 kB / 0.7527 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.6704, allocations: 11.94 kB / 0.7527 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001994/0.6706, allocations: 92.55 kB / 0.7528 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.6709, allocations: 156.5 kB / 0.7529 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.6709, allocations: 7.938 kB / 0.753 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.6709, allocations: 0 / 0.753 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.6709, allocations: 4 kB / 0.753 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.6721, allocations: 0.9233 MB / 0.7539 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/0.6726, allocations: 185.3 kB / 0.754 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.27e-05/0.6727, allocations: 53.72 kB / 0.7541 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.6728, allocations: 0 / 0.7541 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.6728, allocations: 38.55 kB / 0.7541 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.6728, allocations: 3.938 kB / 0.7541 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.0004063/0.6732, allocations: 137.7 kB / 0.7543 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.6733, allocations: 89.09 kB / 0.7543 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.6735, allocations: 214.3 kB / 0.7545 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.6735, allocations: 25.7 kB / 0.7546 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.6736, allocations: 160.2 kB / 0.7547 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.6737, allocations: 55.2 kB / 0.7548 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.6737, allocations: 0 / 0.7548 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6739, allocations: 334.8 kB / 0.7551 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.674, allocations: 40 kB / 0.7551 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.6741, allocations: 93.89 kB / 0.7552 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.6742, allocations: 51.97 kB / 0.7553 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6742, allocations: 3.938 kB / 0.7553 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003677/0.6746, allocations: 181.2 kB / 0.7554 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.6746, allocations: 8 kB / 0.7555 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6746, allocations: 3.938 kB / 0.7555 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.6747, allocations: 4 kB / 0.7555 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.675, allocations: 72.11 kB / 0.7555 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.675, allocations: 4.234 kB / 0.7555 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.6752, allocations: 43.8 kB / 0.7556 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.6753, allocations: 11.94 kB / 0.7556 GB, free: 13.77 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 9.277e-05/0.6754, allocations: 110.7 kB / 0.7557 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003407/0.6757, allocations: 161.2 kB / 0.7558 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/0.6758, allocations: 23.72 kB / 0.7559 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.6762, allocations: 183.4 kB / 0.756 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.6762, allocations: 0 / 0.756 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6762, allocations: 0 / 0.756 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.6762, allocations: 4 kB / 0.756 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.6765, allocations: 257.9 kB / 0.7563 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.6766, allocations: 4 kB / 0.7563 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.6768, allocations: 63.91 kB / 0.7564 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.6769, allocations: 4 kB / 0.7564 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.6769, allocations: 0 / 0.7564 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.6769, allocations: 0 / 0.7564 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6769, allocations: 3.938 kB / 0.7564 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/0.6773, allocations: 352.4 kB / 0.7567 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.6774, allocations: 104.7 kB / 0.7568 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.6774, allocations: 3.953 kB / 0.7568 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.6777, allocations: 35.97 kB / 0.7568 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.6778, allocations: 19.97 kB / 0.7569 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.6778, allocations: 8 kB / 0.7569 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000168/0.678, allocations: 170 kB / 0.757 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.9e-07/0.678, allocations: 0 / 0.757 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000343/0.6783, allocations: 56.19 kB / 0.7571 GB, free: 12.13 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.000822/0.6792, allocations: 0.971 MB / 0.758 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.6794, allocations: 111.9 kB / 0.7581 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.6794, allocations: 3.938 kB / 0.7581 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.6795, allocations: 76.19 kB / 0.7582 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.68, allocations: 59.22 kB / 0.7583 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008056/0.6808, allocations: 345.1 kB / 0.7586 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.6812, allocations: 0.7555 MB / 0.7593 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001505/0.6814, allocations: 34.05 kB / 0.7594 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.6815, allocations: 87.41 kB / 0.7595 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of SimCode: time 2.71e-07/0.6815, allocations: 0 / 0.7595 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.7059, allocations: 5.23 MB / 0.7646 GB, free: 4.461 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.7061, allocations: 138.6 kB / 0.7647 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.617, allocations: 0 / 0.7647 GB, free: 4.27 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)