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.781/1.781, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001234/0.001234, allocations: 184.2 kB / 371.6 MB, free: 3.418 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.873/1.873, allocations: 205.2 MB / 0.6309 GB, free: 11.74 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.0009748/0.000975, allocations: 93.08 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.913e-05/3.917e-05, allocations: 4 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2829, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9567/1.24, allocations: 140.8 MB / 1.117 GB, free: 43.38 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/1.24, allocations: 82.22 kB / 1.117 GB, free: 43.35 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01445/1.255, allocations: 5.268 MB / 1.123 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.074e-06/1.255, allocations: 0 / 1.123 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.138e-05/1.255, allocations: 0 / 1.123 GB, free: 40.34 MB / 0.7448 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.0003936/1.255, allocations: 399.6 kB / 1.123 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/1.255, allocations: 12.03 kB / 1.123 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/1.255, allocations: 30.56 kB / 1.123 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/1.255, allocations: 10.41 kB / 1.123 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/1.255, allocations: 204 kB / 1.123 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/1.255, allocations: 6.938 kB / 1.123 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/1.255, allocations: 0.5 kB / 1.123 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/1.256, allocations: 53.11 kB / 1.123 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/1.256, allocations: 0 / 1.123 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/1.256, allocations: 0 / 1.123 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/1.256, allocations: 4 kB / 1.123 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.843e-05/1.256, allocations: 25.17 kB / 1.123 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/1.256, allocations: 311.9 kB / 1.124 GB, free: 39.28 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.42e-05/1.256, allocations: 37.7 kB / 1.124 GB, free: 39.24 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.056e-05/1.256, allocations: 27.03 kB / 1.124 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/1.256, allocations: 0 / 1.124 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/1.256, allocations: 34.56 kB / 1.124 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/1.256, allocations: 0 / 1.124 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0002012/1.257, allocations: 75.8 kB / 1.124 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/1.257, allocations: 55.36 kB / 1.124 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.84e-05/1.257, allocations: 116.9 kB / 1.124 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/1.257, allocations: 25.7 kB / 1.124 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/1.257, allocations: 93.86 kB / 1.124 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/1.257, allocations: 26.91 kB / 1.124 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/1.257, allocations: 0 / 1.124 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.768e-05/1.257, allocations: 321.2 kB / 1.124 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.17e-05/1.257, allocations: 13.75 kB / 1.124 GB, free: 38.47 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.671e-05/1.257, allocations: 14.31 kB / 1.124 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.859e-05/1.257, allocations: 16.05 kB / 1.124 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.257, allocations: 0.9375 kB / 1.124 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001156/1.257, allocations: 72.2 kB / 1.125 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.257, allocations: 9.562 kB / 1.125 GB, free: 38.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/1.257, allocations: 0 / 1.125 GB, free: 38.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/1.257, allocations: 4.5 kB / 1.125 GB, free: 38.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/1.257, allocations: 18.56 kB / 1.125 GB, free: 38.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.257, allocations: 0 / 1.125 GB, free: 38.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.894e-05/1.257, allocations: 15.42 kB / 1.125 GB, free: 38.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/1.257, allocations: 4.5 kB / 1.125 GB, free: 38.35 MB / 0.7448 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 4.859e-05/1.257, allocations: 102.6 kB / 1.125 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/1.257, allocations: 11.89 kB / 1.125 GB, free: 38.24 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/1.258, allocations: 86.5 kB / 1.125 GB, free: 38.17 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/1.258, allocations: 0 / 1.125 GB, free: 38.17 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/1.258, allocations: 4 kB / 1.125 GB, free: 38.17 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.258, allocations: 0 / 1.125 GB, free: 38.17 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/1.258, allocations: 183.8 kB / 1.125 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.258, allocations: 0.5625 kB / 1.125 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.054e-05/1.258, allocations: 15.52 kB / 1.125 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/1.258, allocations: 0 / 1.125 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/1.258, allocations: 4 kB / 1.125 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.258, allocations: 7.234 kB / 1.125 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.258, allocations: 1.812 kB / 1.125 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/1.258, allocations: 175.6 kB / 1.125 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/1.258, allocations: 84.95 kB / 1.125 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/1.258, allocations: 3.938 kB / 1.125 GB, free: 37.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.458e-05/1.258, allocations: 11.33 kB / 1.125 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/1.258, allocations: 6.484 kB / 1.125 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/1.258, allocations: 8 kB / 1.125 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.267e-05/1.258, allocations: 98.84 kB / 1.125 GB, free: 37.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.258, allocations: 0 / 1.125 GB, free: 37.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002196/1.259, allocations: 20.66 kB / 1.125 GB, free: 37.55 MB / 0.7448 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.0004234/1.259, allocations: 0.7249 MB / 1.126 GB, free: 36.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001172/1.259, allocations: 45.88 kB / 1.126 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.259, allocations: 0 / 1.126 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.048e-05/1.259, allocations: 17.44 kB / 1.126 GB, free: 36.78 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/1.259, allocations: 11.84 kB / 1.126 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/1.26, allocations: 139.9 kB / 1.126 GB, free: 36.62 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/1.26, allocations: 0.7056 MB / 1.127 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.92e-05/1.26, allocations: 4.891 kB / 1.127 GB, free: 35.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/1.26, allocations: 21.47 kB / 1.127 GB, free: 35.9 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/1.26, allocations: 0.9375 kB / 1.127 GB, free: 35.9 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0124/1.273, allocations: 1.987 MB / 1.129 GB, free: 34.83 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/1.273, allocations: 172.7 kB / 1.129 GB, free: 34.6 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.942, allocations: 0 / 1.129 GB, free: 34.6 MB / 0.7448 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)