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.001411/0.001412, allocations: 180.9 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.8206/0.8206, allocations: 133.6 MB / 141.6 MB, free: 2.902 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.503/1.503, allocations: 221.5 MB / 395.4 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.0008785/0.0008782, allocations: 102.1 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.83e-05/1.857e-05, allocations: 4 kB / 0.5535 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4687/0.4687, allocations: 82.32 MB / 0.6339 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/0.6277, allocations: 112.5 MB / 0.7438 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.628, allocations: 79.94 kB / 0.7439 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01578/0.6438, allocations: 5.315 MB / 0.7491 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6439, allocations: 0 / 0.7491 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.6439, allocations: 4 kB / 0.7491 GB, free: 4.75 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000553/0.6445, allocations: 398.2 kB / 0.7495 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.6445, allocations: 8.031 kB / 0.7495 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.6447, allocations: 11.91 kB / 0.7495 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.645, allocations: 200.7 kB / 0.7497 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.645, allocations: 3.938 kB / 0.7497 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.645, allocations: 4 kB / 0.7497 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001093/0.6451, allocations: 20 kB / 0.7497 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.6452, allocations: 49.67 kB / 0.7498 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.6453, allocations: 0 / 0.7498 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.6453, allocations: 0 / 0.7498 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.6453, allocations: 0 / 0.7498 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.6458, allocations: 281.4 kB / 0.75 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.594e-05/0.6459, allocations: 46.52 kB / 0.7501 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.646, allocations: 16.98 kB / 0.7501 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.646, allocations: 8.062 kB / 0.7501 GB, free: 3.586 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.646, allocations: 34.56 kB / 0.7501 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.744e-06/0.6461, allocations: 0 / 0.7501 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0002616/0.6463, allocations: 65.59 kB / 0.7502 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.6464, allocations: 55.39 kB / 0.7502 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.6465, allocations: 109.2 kB / 0.7503 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.6465, allocations: 25.7 kB / 0.7504 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/0.6466, allocations: 104 kB / 0.7505 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.6466, allocations: 19.75 kB / 0.7505 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.6466, allocations: 0 / 0.7505 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6468, allocations: 322.8 kB / 0.7508 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.631e-05/0.6468, allocations: 12 kB / 0.7508 GB, free: 2.797 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.842e-05/0.6468, allocations: 15.94 kB / 0.7508 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.465e-05/0.6469, allocations: 23.92 kB / 0.7508 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6469, allocations: 0 / 0.7508 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001531/0.6471, allocations: 65.59 kB / 0.7509 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.6471, allocations: 5.094 kB / 0.7509 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.6471, allocations: 0 / 0.7509 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.6471, allocations: 4 kB / 0.7509 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.6472, allocations: 15.98 kB / 0.7509 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.6473, allocations: 0 / 0.7509 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.102e-05/0.6473, allocations: 8.25 kB / 0.7509 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.6473, allocations: 7.984 kB / 0.7509 GB, free: 2.648 MB / 0.5261 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 () * 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 7.346e-05/0.6474, allocations: 104.9 kB / 0.751 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001474/0.6476, allocations: 73.53 kB / 0.7511 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.6476, allocations: 11.91 kB / 0.7511 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.6478, allocations: 74.08 kB / 0.7512 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/0.6478, allocations: 4 kB / 0.7512 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6478, allocations: 0 / 0.7512 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.6479, allocations: 7.938 kB / 0.7512 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.648, allocations: 158.1 kB / 0.7514 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.648, allocations: 0 / 0.7514 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/0.6481, allocations: 19.92 kB / 0.7514 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.6482, allocations: 0 / 0.7514 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.6482, allocations: 4 kB / 0.7514 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.6482, allocations: 4 kB / 0.7514 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.6482, allocations: 0 / 0.7514 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.6484, allocations: 171.4 kB / 0.7516 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.6484, allocations: 85.02 kB / 0.7516 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.6485, allocations: 0 / 0.7516 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.769e-05/0.6486, allocations: 4 kB / 0.7516 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.6486, allocations: 11.98 kB / 0.7516 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.6486, allocations: 0 / 0.7516 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.319e-05/0.6487, allocations: 96.05 kB / 0.7517 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6487, allocations: 0 / 0.7517 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002598/0.649, allocations: 24 kB / 0.7518 GB, free: 1.719 MB / 0.5261 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 () * 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.0005607/0.6495, allocations: 0.7202 MB / 0.7525 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.6497, allocations: 36 kB / 0.7525 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.6497, allocations: 0 / 0.7525 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.367e-05/0.6497, allocations: 31.8 kB / 0.7525 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.65, allocations: 8 kB / 0.7525 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.6504, allocations: 137.4 kB / 0.7527 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.6507, allocations: 0.6963 MB / 0.7534 GB, free: 4 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.312e-05/0.6508, allocations: 4.188 kB / 0.7534 GB, free: 0 / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.277e-05/0.6509, allocations: 19.42 kB / 0.7534 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of SimCode: time 2.9e-07/0.6509, allocations: 0 / 0.7534 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.671, allocations: 1.639 MB / 0.755 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002645/0.6713, allocations: 141.4 kB / 0.7551 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.222, allocations: 3.938 kB / 0.7551 GB, free: 14.17 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)