Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.576/2.576, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001575/0.001574, allocations: 169.1 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.735/2.735, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001158/0.001158, allocations: 92.8 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006638/0.0006637, allocations: 16.94 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.244, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9581/1.202, allocations: 140.2 MB / 1.115 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/1.203, allocations: 86.94 kB / 1.115 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03602/1.239, allocations: 7.551 MB / 1.123 GB, free: 31.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/1.239, allocations: 0 / 1.123 GB, free: 31.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.25e-05/1.239, allocations: 3.781 kB / 1.123 GB, free: 31.05 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001617/1.24, allocations: 0.6099 MB / 1.123 GB, free: 30.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/1.24, allocations: 15.09 kB / 1.123 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.481e-05/1.24, allocations: 51.08 kB / 1.123 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003052/1.241, allocations: 30.78 kB / 1.123 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/1.241, allocations: 294.6 kB / 1.124 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/1.242, allocations: 11.41 kB / 1.124 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/1.242, allocations: 20.19 kB / 1.124 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008485/1.242, allocations: 250.6 kB / 1.124 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/1.242, allocations: 0 / 1.124 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/1.243, allocations: 9.969 kB / 1.124 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/1.243, allocations: 3.812 kB / 1.124 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/1.244, allocations: 249.9 kB / 1.124 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/1.246, allocations: 0.9628 MB / 1.125 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/1.247, allocations: 263.1 kB / 1.125 GB, free: 29.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/1.247, allocations: 7.828 kB / 1.125 GB, free: 29.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/1.247, allocations: 34.19 kB / 1.125 GB, free: 29.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.976e-06/1.247, allocations: 0 / 1.125 GB, free: 29.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.002101/1.249, allocations: 413.1 kB / 1.126 GB, free: 29.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/1.249, allocations: 77.11 kB / 1.126 GB, free: 29.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000396/1.25, allocations: 240.4 kB / 1.126 GB, free: 29.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/1.25, allocations: 32.52 kB / 1.126 GB, free: 29.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/1.25, allocations: 157.9 kB / 1.126 GB, free: 28.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/1.25, allocations: 54.03 kB / 1.126 GB, free: 28.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/1.25, allocations: 3.438 kB / 1.126 GB, free: 28.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.25, allocations: 337.5 kB / 1.127 GB, free: 28.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006097/1.251, allocations: 113.1 kB / 1.127 GB, free: 28.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006222/1.251, allocations: 163.1 kB / 1.127 GB, free: 28.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006052/1.252, allocations: 121.2 kB / 1.127 GB, free: 28.53 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/1.252, allocations: 0 / 1.127 GB, free: 28.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001527/1.254, allocations: 335 kB / 1.127 GB, free: 28.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/1.254, allocations: 6.672 kB / 1.127 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.254, allocations: 3.812 kB / 1.127 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/1.254, allocations: 4.125 kB / 1.127 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/1.254, allocations: 75.55 kB / 1.127 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/1.254, allocations: 3.844 kB / 1.127 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004489/1.255, allocations: 51.97 kB / 1.128 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/1.255, allocations: 3.688 kB / 1.128 GB, free: 28.45 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 0.0002089/1.255, allocations: 143.2 kB / 1.128 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/1.255, allocations: 23.34 kB / 1.128 GB, free: 28.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/1.257, allocations: 335.7 kB / 1.128 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.257, allocations: 7.781 kB / 1.128 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.257, allocations: 0 / 1.128 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.257, allocations: 3.469 kB / 1.128 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/1.257, allocations: 295.8 kB / 1.128 GB, free: 28.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/1.257, allocations: 3.953 kB / 1.128 GB, free: 28.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005271/1.258, allocations: 71.47 kB / 1.128 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/1.258, allocations: 0 / 1.128 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/1.258, allocations: 2.875 kB / 1.128 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/1.258, allocations: 3.906 kB / 1.128 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.258, allocations: 0 / 1.128 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/1.259, allocations: 492.5 kB / 1.129 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/1.259, allocations: 103.6 kB / 1.129 GB, free: 27.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.457e-05/1.259, allocations: 6.719 kB / 1.129 GB, free: 27.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004642/1.26, allocations: 44.75 kB / 1.129 GB, free: 27.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.45e-05/1.26, allocations: 22.77 kB / 1.129 GB, free: 27.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/1.26, allocations: 3.875 kB / 1.129 GB, free: 27.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002639/1.26, allocations: 190 kB / 1.129 GB, free: 27.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.26, allocations: 4 kB / 1.129 GB, free: 27.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005622/1.261, allocations: 67.78 kB / 1.129 GB, free: 27.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.002097/1.263, allocations: 1.109 MB / 1.13 GB, free: 26.72 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001362/1.264, allocations: 272.4 kB / 1.131 GB, free: 26.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.264, allocations: 0 / 1.131 GB, free: 26.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006538/1.265, allocations: 142.2 kB / 1.131 GB, free: 26.69 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/1.266, allocations: 58.91 kB / 1.131 GB, free: 26.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/1.268, allocations: 1.681 MB / 1.132 GB, free: 25.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/1.268, allocations: 0.7576 MB / 1.133 GB, free: 24.51 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003241/1.269, allocations: 35.62 kB / 1.133 GB, free: 24.49 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/1.269, allocations: 85.67 kB / 1.133 GB, free: 24.48 MB / 0.698 GB Notification: Performance of SimCode: time 1.313e-06/1.269, allocations: 0 / 1.133 GB, free: 24.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03521/1.304, allocations: 5.737 MB / 1.139 GB, free: 22.49 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/1.305, allocations: 195.1 kB / 1.139 GB, free: 22.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/4.053, allocations: 0 / 1.139 GB, free: 22.25 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)