Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.703/1.703, allocations: 288.2 MB / 303.2 MB, free: 8.164 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.001147/0.001146, allocations: 185 kB / 371.8 MB, free: 10.26 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.813/1.813, allocations: 205.4 MB / 0.6305 GB, free: 9.973 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.0009671/0.0009671, allocations: 110.1 kB / 0.7439 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.0004142, allocations: 13.84 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2498, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002213/0.252, allocations: 1.746 MB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.2538, allocations: 0.98 MB / 0.9822 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.2541, allocations: 4 kB / 0.9822 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.528e-05/0.2541, allocations: 15.8 kB / 0.9822 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003927/0.2545, allocations: 83.77 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.255, allocations: 130.1 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.2553, allocations: 191.5 kB / 0.9826 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.2555, allocations: 48.72 kB / 0.9826 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.2557, allocations: 91.62 kB / 0.9827 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.2559, allocations: 123.4 kB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.256, allocations: 11.94 kB / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004031/0.2564, allocations: 267.7 kB / 0.9831 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.2564, allocations: 39.78 kB / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.2565, allocations: 61.58 kB / 0.9832 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.2568, allocations: 227.6 kB / 0.9834 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2568, allocations: 4 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2568, allocations: 0 / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.2568, allocations: 0 / 0.9834 GB, free: 23.55 MB / 0.6198 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.001087/0.2579, allocations: 0.6077 MB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.258, allocations: 12.02 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.18e-05/0.258, allocations: 50.55 kB / 0.984 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000249/0.2583, allocations: 35.62 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.2586, allocations: 270.4 kB / 0.9843 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.2587, allocations: 12.27 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.2587, allocations: 16 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005119/0.2592, allocations: 252.2 kB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2592, allocations: 0 / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.2593, allocations: 8 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.2593, allocations: 4 kB / 0.9846 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006429/0.2599, allocations: 239.8 kB / 0.9848 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.2611, allocations: 0.9541 MB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007582/0.2618, allocations: 265.2 kB / 0.986 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.2619, allocations: 0 / 0.986 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.2619, allocations: 38.88 kB / 0.9861 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.2619, allocations: 0 / 0.9861 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001157/0.2631, allocations: 405 kB / 0.9865 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.2631, allocations: 81.11 kB / 0.9865 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.2634, allocations: 259 kB / 0.9868 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.2634, allocations: 37.7 kB / 0.9868 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.681e-05/0.2635, allocations: 168.1 kB / 0.987 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.2636, allocations: 43.27 kB / 0.987 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.2636, allocations: 8 kB / 0.987 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.2637, allocations: 338.8 kB / 0.9873 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.264, allocations: 111.9 kB / 0.9875 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.2643, allocations: 159.5 kB / 0.9876 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.2647, allocations: 128.5 kB / 0.9877 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2647, allocations: 7.875 kB / 0.9877 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007741/0.2654, allocations: 333 kB / 0.9881 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.2655, allocations: 8 kB / 0.9881 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2655, allocations: 0 / 0.9881 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-05/0.2655, allocations: 4 kB / 0.9881 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.2658, allocations: 76.02 kB / 0.9881 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.2658, allocations: 7.984 kB / 0.9881 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.2661, allocations: 51.75 kB / 0.9882 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.2661, allocations: 8 kB / 0.9882 GB, free: 18.33 MB / 0.6198 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.0001038/0.2662, allocations: 133.7 kB / 0.9883 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.2663, allocations: 27.72 kB / 0.9884 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007797/0.2671, allocations: 335 kB / 0.9887 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.2671, allocations: 8 kB / 0.9887 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.2672, allocations: 4 kB / 0.9887 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.2672, allocations: 3.984 kB / 0.9887 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.2675, allocations: 293.4 kB / 0.989 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2675, allocations: 0 / 0.989 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.2678, allocations: 67.89 kB / 0.989 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.2678, allocations: 8 kB / 0.989 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.2678, allocations: 4 kB / 0.989 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2678, allocations: 0 / 0.989 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2678, allocations: 4 kB / 0.989 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007978/0.2686, allocations: 492.8 kB / 0.9895 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.13e-05/0.2687, allocations: 100.7 kB / 0.9896 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.2688, allocations: 8 kB / 0.9896 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.269, allocations: 47.89 kB / 0.9897 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.2691, allocations: 19.97 kB / 0.9897 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.2691, allocations: 4 kB / 0.9897 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001436/0.2693, allocations: 186 kB / 0.9899 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2693, allocations: 0 / 0.9899 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000376/0.2697, allocations: 63.84 kB / 0.9899 GB, free: 16.45 MB / 0.6198 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.001065/0.2707, allocations: 1.103 MB / 0.991 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007159/0.2715, allocations: 269.5 kB / 0.9913 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2715, allocations: 0 / 0.9913 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.2718, allocations: 139.9 kB / 0.9914 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.2724, allocations: 69.33 kB / 0.9915 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.2736, allocations: 1.681 MB / 0.9931 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.2738, allocations: 0.756 MB / 0.9938 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001647/0.274, allocations: 38.48 kB / 0.9939 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.2741, allocations: 79.41 kB / 0.994 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.2741, allocations: 0 / 0.994 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.2909, allocations: 5.757 MB / 0.9996 GB, free: 6.668 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/0.2911, allocations: 209.1 kB / 0.9998 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/2.393, allocations: 0 / 0.9998 GB, free: 6.422 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)