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.717/1.717, allocations: 288.2 MB / 303.2 MB, free: 8.195 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.00123/0.00123, allocations: 175.2 kB / 371.8 MB, free: 10.27 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.903/1.903, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 90.86 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004427, allocations: 13.03 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2948, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8902/1.185, allocations: 139.9 MB / 1.116 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/1.185, allocations: 84.62 kB / 1.116 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01629/1.202, allocations: 5.266 MB / 1.121 GB, free: 31.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/1.202, allocations: 0 / 1.121 GB, free: 31.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.117e-05/1.202, allocations: 0 / 1.121 GB, free: 31.83 MB / 0.698 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.0006975/1.203, allocations: 413.9 kB / 1.122 GB, free: 31.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/1.203, allocations: 15.58 kB / 1.122 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/1.203, allocations: 34.31 kB / 1.122 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/1.203, allocations: 10.89 kB / 1.122 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/1.203, allocations: 196.1 kB / 1.122 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/1.203, allocations: 0 / 1.122 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/1.203, allocations: 7.719 kB / 1.122 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/1.203, allocations: 68.31 kB / 1.122 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/1.203, allocations: 0 / 1.122 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/1.203, allocations: 0 / 1.122 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/1.203, allocations: 0 / 1.122 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/1.203, allocations: 50.44 kB / 1.122 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005718/1.204, allocations: 308.2 kB / 1.122 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/1.204, allocations: 66.09 kB / 1.122 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/1.204, allocations: 7.75 kB / 1.122 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/1.204, allocations: 34.5 kB / 1.123 GB, free: 30.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/1.204, allocations: 0 / 1.123 GB, free: 30.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0003923/1.205, allocations: 128.2 kB / 1.123 GB, free: 30.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/1.205, allocations: 51.41 kB / 1.123 GB, free: 30.69 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/1.205, allocations: 130 kB / 1.123 GB, free: 30.58 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/1.205, allocations: 29.55 kB / 1.123 GB, free: 30.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/1.205, allocations: 90.11 kB / 1.123 GB, free: 30.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/1.205, allocations: 18.17 kB / 1.123 GB, free: 30.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/1.205, allocations: 0 / 1.123 GB, free: 30.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.205, allocations: 321.6 kB / 1.123 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.583e-05/1.205, allocations: 29.05 kB / 1.123 GB, free: 30.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/1.205, allocations: 24.31 kB / 1.123 GB, free: 30.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.385e-05/1.205, allocations: 25.17 kB / 1.123 GB, free: 30.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/1.205, allocations: 3.656 kB / 1.123 GB, free: 30.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002253/1.206, allocations: 99.19 kB / 1.123 GB, free: 30.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.206, allocations: 5.094 kB / 1.123 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/1.206, allocations: 0 / 1.123 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/1.206, allocations: 0 / 1.123 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/1.206, allocations: 25.53 kB / 1.123 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/1.206, allocations: 0 / 1.123 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.606e-05/1.206, allocations: 11.91 kB / 1.123 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/1.206, allocations: 8.422 kB / 1.123 GB, free: 30.09 MB / 0.698 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 9.537e-05/1.206, allocations: 111.9 kB / 1.124 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/1.206, allocations: 7.781 kB / 1.124 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/1.206, allocations: 110.1 kB / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.206, allocations: 0 / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.206, allocations: 0 / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/1.206, allocations: 3.812 kB / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/1.207, allocations: 181.1 kB / 1.124 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.207, allocations: 2.766 kB / 1.124 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.927e-05/1.207, allocations: 21.84 kB / 1.124 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/1.207, allocations: 0 / 1.124 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/1.207, allocations: 0 / 1.124 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.207, allocations: 4.5 kB / 1.124 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.207, allocations: 0 / 1.124 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/1.207, allocations: 199.6 kB / 1.124 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/1.207, allocations: 83.83 kB / 1.124 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/1.207, allocations: 7.844 kB / 1.124 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-05/1.207, allocations: 6.875 kB / 1.124 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/1.207, allocations: 2.625 kB / 1.124 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/1.207, allocations: 7.688 kB / 1.124 GB, free: 29.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.658e-05/1.207, allocations: 99.64 kB / 1.124 GB, free: 29.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.207, allocations: 3.938 kB / 1.124 GB, free: 29.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002612/1.208, allocations: 30.5 kB / 1.124 GB, free: 29.4 MB / 0.698 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.0007089/1.208, allocations: 0.7501 MB / 1.125 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002017/1.209, allocations: 60.7 kB / 1.125 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.209, allocations: 3.938 kB / 1.125 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.015e-05/1.209, allocations: 35.11 kB / 1.125 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/1.209, allocations: 10.41 kB / 1.125 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007106/1.21, allocations: 425.5 kB / 1.126 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/1.21, allocations: 0.699 MB / 1.126 GB, free: 27.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.579e-05/1.21, allocations: 7.984 kB / 1.126 GB, free: 27.65 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/1.21, allocations: 22.8 kB / 1.126 GB, free: 27.64 MB / 0.698 GB Notification: Performance of SimCode: time 3e-07/1.21, allocations: 3.875 kB / 1.126 GB, free: 27.64 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/1.224, allocations: 1.981 MB / 1.128 GB, free: 27.48 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/1.225, allocations: 207 kB / 1.128 GB, free: 27.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/3.037, allocations: 0 / 1.128 GB, free: 27.23 MB / 0.698 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)