Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.829/1.829, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.001342/0.001342, allocations: 176.8 kB / 366.7 MB, free: 1.652 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.899/1.899, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.0008614/0.0008614, allocations: 94.41 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.457e-05, allocations: 8 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7382/0.7383, allocations: 116.3 MB / 0.9734 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2146/0.9529, allocations: 140.6 MB / 1.111 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.9533, allocations: 91.92 kB / 1.111 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02334/0.9767, allocations: 7.504 MB / 1.118 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9767, allocations: 0 / 1.118 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.228e-05/0.9768, allocations: 8 kB / 1.118 GB, free: 1.941 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0011/0.9779, allocations: 0.5604 MB / 1.119 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/0.978, allocations: 8.031 kB / 1.119 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003056/0.9783, allocations: 39.61 kB / 1.119 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.9789, allocations: 294.6 kB / 1.119 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.9789, allocations: 7.75 kB / 1.119 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.9789, allocations: 8 kB / 1.119 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002253/0.9792, allocations: 88.55 kB / 1.119 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.9794, allocations: 164.4 kB / 1.119 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.9795, allocations: 0 / 1.119 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.9795, allocations: 0 / 1.119 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.9795, allocations: 4 kB / 1.119 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.9809, allocations: 0.9234 MB / 1.12 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/0.9814, allocations: 187.1 kB / 1.12 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.9816, allocations: 54.8 kB / 1.12 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.9816, allocations: 7.984 kB / 1.12 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.9816, allocations: 34.56 kB / 1.12 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.873e-06/0.9816, allocations: 0 / 1.12 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0004653/0.9821, allocations: 147.8 kB / 1.121 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.9822, allocations: 81.11 kB / 1.121 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.9824, allocations: 218.3 kB / 1.121 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.9824, allocations: 29.7 kB / 1.121 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.9826, allocations: 160.2 kB / 1.121 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.9826, allocations: 51.2 kB / 1.121 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.9827, allocations: 0 / 1.121 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.9828, allocations: 338.8 kB / 1.121 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.844e-05/0.9829, allocations: 40 kB / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.983, allocations: 93.98 kB / 1.122 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.9832, allocations: 47.92 kB / 1.122 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.9832, allocations: 4 kB / 1.122 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004232/0.9837, allocations: 185.1 kB / 1.122 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.9837, allocations: 4 kB / 1.122 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.9837, allocations: 4 kB / 1.122 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.9837, allocations: 1.781 kB / 1.122 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.9841, allocations: 80.03 kB / 1.122 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.9841, allocations: 0 / 1.122 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.9843, allocations: 43.81 kB / 1.122 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.9844, allocations: 8 kB / 1.122 GB, free: 13.8 MB / 0.7292 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 () * 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 9.536e-05/0.9845, allocations: 114.5 kB / 1.122 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003531/0.9848, allocations: 155.6 kB / 1.122 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.985, allocations: 27.62 kB / 1.122 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.9853, allocations: 172.8 kB / 1.122 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.9854, allocations: 4 kB / 1.122 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.9854, allocations: 0 / 1.122 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.9854, allocations: 7.984 kB / 1.122 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.9857, allocations: 260.8 kB / 1.123 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.9857, allocations: 0 / 1.123 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.986, allocations: 67.89 kB / 1.123 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.986, allocations: 3.953 kB / 1.123 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.9861, allocations: 0 / 1.123 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.9861, allocations: 8 kB / 1.123 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.9861, allocations: 0 / 1.123 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.9865, allocations: 346.1 kB / 1.123 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.107e-05/0.9866, allocations: 104.8 kB / 1.123 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.9867, allocations: 3.953 kB / 1.123 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.987, allocations: 39.95 kB / 1.123 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.987, allocations: 15.97 kB / 1.123 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.9871, allocations: 8 kB / 1.123 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000154/0.9872, allocations: 166 kB / 1.123 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9872, allocations: 0 / 1.123 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003739/0.9876, allocations: 52.16 kB / 1.123 GB, free: 12.18 MB / 0.7292 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 () * 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.0009393/0.9885, allocations: 0.9674 MB / 1.124 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002754/0.9888, allocations: 126.4 kB / 1.124 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9888, allocations: 4.312 kB / 1.124 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.989, allocations: 66.84 kB / 1.125 GB, free: 11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.9894, allocations: 58.91 kB / 1.125 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008591/0.9903, allocations: 356.9 kB / 1.125 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.9907, allocations: 0.7594 MB / 1.126 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001722/0.9908, allocations: 26.06 kB / 1.126 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.991, allocations: 83.41 kB / 1.126 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.991, allocations: 0 / 1.126 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03528/1.026, allocations: 5.251 MB / 1.131 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/1.027, allocations: 149.8 kB / 1.131 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.951, allocations: 0 / 1.131 GB, free: 4.41 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)