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.77/1.77, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001614/0.001614, allocations: 189 kB / 377.1 MB, free: 1.508 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.79/1.79, allocations: 205.4 MB / 0.6366 GB, free: 8.605 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.0009933/0.0009936, allocations: 96.73 kB / 0.7509 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003686, allocations: 12 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2919, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8393/1.131, allocations: 140.9 MB / 1.126 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/1.132, allocations: 83.73 kB / 1.126 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01476/1.146, allocations: 5.275 MB / 1.131 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.434e-06/1.146, allocations: 3.938 kB / 1.131 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.502e-05/1.146, allocations: 0 / 1.131 GB, free: 30.3 MB / 0.7292 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.0005626/1.147, allocations: 427.3 kB / 1.132 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/1.147, allocations: 16.02 kB / 1.132 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/1.147, allocations: 30.56 kB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/1.147, allocations: 9.969 kB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/1.147, allocations: 190.1 kB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/1.147, allocations: 10.72 kB / 1.132 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/1.147, allocations: 0 / 1.132 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/1.148, allocations: 64.16 kB / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.148, allocations: 3.234 kB / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/1.148, allocations: 4 kB / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/1.148, allocations: 4 kB / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/1.148, allocations: 52.48 kB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/1.148, allocations: 314.5 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/1.149, allocations: 61.89 kB / 1.132 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/1.149, allocations: 0 / 1.132 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/1.149, allocations: 34.5 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/1.149, allocations: 0 / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0003693/1.149, allocations: 119.1 kB / 1.133 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/1.149, allocations: 51.41 kB / 1.133 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/1.149, allocations: 125.5 kB / 1.133 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/1.149, allocations: 25.7 kB / 1.133 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/1.149, allocations: 99.38 kB / 1.133 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/1.149, allocations: 20.5 kB / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/1.149, allocations: 0 / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.045e-05/1.149, allocations: 322.1 kB / 1.133 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/1.149, allocations: 23.19 kB / 1.133 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/1.149, allocations: 30.94 kB / 1.133 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.392e-05/1.15, allocations: 27.19 kB / 1.133 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.15, allocations: 3.938 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001941/1.15, allocations: 96.44 kB / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.15, allocations: 6.906 kB / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.15, allocations: 4 kB / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/1.15, allocations: 0 / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/1.15, allocations: 15.33 kB / 1.133 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/1.15, allocations: 4 kB / 1.133 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.381e-05/1.15, allocations: 15.27 kB / 1.133 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/1.15, allocations: 5.547 kB / 1.133 GB, free: 28.05 MB / 0.7292 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 7.817e-05/1.15, allocations: 113.8 kB / 1.133 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/1.15, allocations: 11.91 kB / 1.134 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/1.15, allocations: 107.3 kB / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.15, allocations: 4 kB / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.15, allocations: 0.5 kB / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.15, allocations: 0 / 1.134 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/1.151, allocations: 186.7 kB / 1.134 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.151, allocations: 0.625 kB / 1.134 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.485e-05/1.151, allocations: 16.31 kB / 1.134 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.151, allocations: 0 / 1.134 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/1.151, allocations: 4 kB / 1.134 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.151, allocations: 0.5625 kB / 1.134 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.151, allocations: 0 / 1.134 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/1.151, allocations: 205.1 kB / 1.134 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/1.151, allocations: 85.02 kB / 1.134 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/1.151, allocations: 4.609 kB / 1.134 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/1.151, allocations: 7.688 kB / 1.134 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/1.151, allocations: 4 kB / 1.134 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/1.151, allocations: 3.188 kB / 1.134 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.998e-05/1.151, allocations: 102.8 kB / 1.134 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.403e-06/1.151, allocations: 0 / 1.134 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002485/1.152, allocations: 28.39 kB / 1.134 GB, free: 27.15 MB / 0.7292 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.0005249/1.152, allocations: 0.7466 MB / 1.135 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002259/1.152, allocations: 61.75 kB / 1.135 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.152, allocations: 0 / 1.135 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.169e-05/1.152, allocations: 45.05 kB / 1.135 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/1.153, allocations: 6.625 kB / 1.135 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000651/1.153, allocations: 432.2 kB / 1.135 GB, free: 25.87 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/1.154, allocations: 0.6946 MB / 1.136 GB, free: 25.16 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.746e-05/1.154, allocations: 11.8 kB / 1.136 GB, free: 25.15 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/1.154, allocations: 18.44 kB / 1.136 GB, free: 25.14 MB / 0.7292 GB Notification: Performance of SimCode: time 3.1e-07/1.154, allocations: 0 / 1.136 GB, free: 25.14 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/1.168, allocations: 1.975 MB / 1.138 GB, free: 24.07 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002746/1.169, allocations: 193.5 kB / 1.138 GB, free: 23.83 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.956, allocations: 4 kB / 1.138 GB, free: 23.82 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)