Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.699/1.699, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.00159/0.00159, allocations: 172.8 kB / 361.4 MB, free: 6.836 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.802/1.802, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0008699/0.0008696, allocations: 101.3 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.345e-05, allocations: 8 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7/0.7, allocations: 115.3 MB / 0.9645 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2126/0.9126, allocations: 139.2 MB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.9129, allocations: 77.64 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01604/0.929, allocations: 5.232 MB / 1.106 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.663e-06/0.929, allocations: 3.938 kB / 1.106 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.929, allocations: 0 / 1.106 GB, free: 11.32 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.0004928/0.9296, allocations: 400.1 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.9296, allocations: 8.031 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.9297, allocations: 16.86 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.93, allocations: 195.6 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.93, allocations: 7.125 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.93, allocations: 0 / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001016/0.9301, allocations: 27.98 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.348e-05/0.9302, allocations: 45.69 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.9302, allocations: 0 / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.9303, allocations: 0 / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.9303, allocations: 5.688 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.9308, allocations: 281.3 kB / 1.107 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.349e-05/0.9309, allocations: 46.56 kB / 1.107 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/0.9309, allocations: 16.98 kB / 1.107 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.9309, allocations: 4.062 kB / 1.107 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.931, allocations: 34.56 kB / 1.107 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.931, allocations: 0 / 1.107 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0002173/0.9312, allocations: 73.53 kB / 1.107 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.9312, allocations: 51.41 kB / 1.107 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.651e-05/0.9313, allocations: 115 kB / 1.107 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.9314, allocations: 25.7 kB / 1.107 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.9314, allocations: 100 kB / 1.107 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.9315, allocations: 11.75 kB / 1.107 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.9315, allocations: 4 kB / 1.107 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.9316, allocations: 326.8 kB / 1.107 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.883e-05/0.9316, allocations: 8 kB / 1.107 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.429e-05/0.9317, allocations: 16 kB / 1.107 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.735e-05/0.9318, allocations: 12 kB / 1.107 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.9318, allocations: 1.688 kB / 1.107 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001332/0.9319, allocations: 65.59 kB / 1.107 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.9319, allocations: 11.98 kB / 1.107 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.9319, allocations: 3.938 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.932, allocations: 4 kB / 1.107 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.9321, allocations: 23.92 kB / 1.107 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.9321, allocations: 0 / 1.107 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.9322, allocations: 4 kB / 1.107 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.9322, allocations: 6.312 kB / 1.107 GB, free: 9.215 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.054e-05/0.9323, allocations: 104.9 kB / 1.108 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001319/0.9324, allocations: 61.59 kB / 1.108 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.9325, allocations: 7.906 kB / 1.108 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.9326, allocations: 90 kB / 1.108 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.9327, allocations: 0 / 1.108 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9327, allocations: 0 / 1.108 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.9327, allocations: 0 / 1.108 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.9329, allocations: 158.2 kB / 1.108 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9329, allocations: 0 / 1.108 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.098e-05/0.933, allocations: 22.61 kB / 1.108 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.933, allocations: 3.984 kB / 1.108 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.933, allocations: 4 kB / 1.108 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.933, allocations: 1.688 kB / 1.108 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.933, allocations: 0 / 1.108 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.9332, allocations: 171.4 kB / 1.108 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.9333, allocations: 84.95 kB / 1.108 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.9333, allocations: 3.984 kB / 1.108 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.023e-05/0.9334, allocations: 4 kB / 1.108 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.9334, allocations: 15.92 kB / 1.108 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.9335, allocations: 0 / 1.108 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.878e-05/0.9335, allocations: 97.31 kB / 1.108 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9335, allocations: 0 / 1.108 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002464/0.9338, allocations: 24 kB / 1.108 GB, free: 8.289 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.000574/0.9344, allocations: 0.7214 MB / 1.109 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.9345, allocations: 43.92 kB / 1.109 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9345, allocations: 0 / 1.109 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.897e-05/0.9345, allocations: 16 kB / 1.109 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.9348, allocations: 11.98 kB / 1.109 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.9352, allocations: 135.8 kB / 1.109 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.9355, allocations: 0.7002 MB / 1.11 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.006e-05/0.9356, allocations: 6.062 kB / 1.11 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.9356, allocations: 19.42 kB / 1.11 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9356, allocations: 5.219 kB / 1.11 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.9545, allocations: 1.647 MB / 1.111 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.9548, allocations: 164.6 kB / 1.112 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/2.463, allocations: 1.75 kB / 1.112 GB, free: 4.77 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)