Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.861/1.861, allocations: 289.9 MB / 297.4 MB, free: 6.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 172.9 kB / 366.7 MB, free: 1.625 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001232/0.001233, allocations: 87.42 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.101e-05/4.106e-05, allocations: 8 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7406/0.7407, allocations: 116.3 MB / 0.9734 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2103/0.951, allocations: 140.2 MB / 1.11 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.9513, allocations: 84.8 kB / 1.11 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01601/0.9673, allocations: 5.242 MB / 1.115 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9674, allocations: 3.938 kB / 1.115 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.9674, allocations: 0 / 1.115 GB, free: 4.629 MB / 0.7136 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.0005127/0.9679, allocations: 400.3 kB / 1.116 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.968, allocations: 12.03 kB / 1.116 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.9681, allocations: 11.89 kB / 1.116 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.9684, allocations: 190.9 kB / 1.116 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.9684, allocations: 4 kB / 1.116 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.9684, allocations: 0 / 1.116 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001017/0.9685, allocations: 35.67 kB / 1.116 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.9686, allocations: 45.69 kB / 1.116 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.9686, allocations: 0 / 1.116 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.9686, allocations: 0 / 1.116 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.9687, allocations: 0 / 1.116 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.9692, allocations: 289.4 kB / 1.116 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.971e-05/0.9693, allocations: 42.56 kB / 1.116 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.9693, allocations: 20.92 kB / 1.116 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.9693, allocations: 0 / 1.116 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.9694, allocations: 38.56 kB / 1.116 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.9694, allocations: 0 / 1.116 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0002317/0.9696, allocations: 63.66 kB / 1.117 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.9697, allocations: 55.41 kB / 1.117 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.9698, allocations: 115.2 kB / 1.117 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.9698, allocations: 25.7 kB / 1.117 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.9699, allocations: 96.03 kB / 1.117 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.9699, allocations: 19.75 kB / 1.117 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.9699, allocations: 4 kB / 1.117 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.9701, allocations: 326.8 kB / 1.117 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.798e-05/0.9701, allocations: 8 kB / 1.117 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.455e-05/0.9702, allocations: 12 kB / 1.117 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/0.9702, allocations: 12 kB / 1.117 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.9702, allocations: 0 / 1.117 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001453/0.9704, allocations: 73.53 kB / 1.117 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.9704, allocations: 4 kB / 1.117 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.9704, allocations: 11.05 kB / 1.117 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.9704, allocations: 4 kB / 1.117 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.9706, allocations: 16 kB / 1.117 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.9706, allocations: 3.984 kB / 1.117 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.848e-05/0.9707, allocations: 4 kB / 1.117 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.9707, allocations: 5.75 kB / 1.117 GB, free: 2.531 MB / 0.7136 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 8.137e-05/0.9708, allocations: 104.9 kB / 1.117 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001424/0.9709, allocations: 69.53 kB / 1.117 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.9709, allocations: 7.906 kB / 1.117 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.9711, allocations: 82.06 kB / 1.118 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.9711, allocations: 0 / 1.118 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.9711, allocations: 0 / 1.118 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.9712, allocations: 0 / 1.118 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.9713, allocations: 162.2 kB / 1.118 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9714, allocations: 1.5 kB / 1.118 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.654e-05/0.9714, allocations: 17.67 kB / 1.118 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.9715, allocations: 4 kB / 1.118 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.9715, allocations: 7.984 kB / 1.118 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.9715, allocations: 3.938 kB / 1.118 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9715, allocations: 0 / 1.118 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.9717, allocations: 163.4 kB / 1.118 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.9717, allocations: 88.95 kB / 1.118 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.9718, allocations: 6.422 kB / 1.118 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.9719, allocations: 4 kB / 1.118 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.9719, allocations: 11.98 kB / 1.118 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.9719, allocations: 0 / 1.118 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.021e-05/0.972, allocations: 98.41 kB / 1.118 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.81e-07/0.972, allocations: 0 / 1.118 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002669/0.9723, allocations: 20 kB / 1.118 GB, free: 1.617 MB / 0.7136 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.0006601/0.973, allocations: 0.7279 MB / 1.119 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001458/0.9731, allocations: 35.98 kB / 1.119 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.9731, allocations: 0 / 1.119 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.789e-05/0.9732, allocations: 23.94 kB / 1.119 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.9735, allocations: 9.672 kB / 1.119 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/0.9739, allocations: 139.9 kB / 1.119 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.9743, allocations: 0.7002 MB / 1.12 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5e-05/0.9743, allocations: 4.188 kB / 1.12 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/0.9744, allocations: 19.42 kB / 1.12 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of SimCode: time 2.91e-07/0.9744, allocations: 0 / 1.12 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.996, allocations: 1.638 MB / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/0.9963, allocations: 153 kB / 1.121 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.71, allocations: 0 / 1.121 GB, free: 14.1 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)