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.705/2.705, allocations: 287.5 MB / 302.4 MB, free: 8.309 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.001472/0.001472, allocations: 180.3 kB / 371 MB, free: 10.87 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.313/2.313, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009531/0.0009528, allocations: 104.9 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006742/0.0006745, allocations: 16.94 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2394, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002597/0.2421, allocations: 1.793 MB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002083/0.2442, allocations: 0.9761 MB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.2444, allocations: 0 / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.674e-05/0.2445, allocations: 15.8 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.2449, allocations: 75.41 kB / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000555/0.2454, allocations: 128.9 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.2458, allocations: 266.8 kB / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.246, allocations: 48.72 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.2462, allocations: 95.55 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.2464, allocations: 123.5 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.2465, allocations: 8 kB / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006423/0.2471, allocations: 271.7 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.2472, allocations: 43.77 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.365e-05/0.2473, allocations: 69.58 kB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.2477, allocations: 215.7 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.2477, allocations: 3.938 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2477, allocations: 0 / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.2477, allocations: 0 / 0.9825 GB, free: 24.12 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.001416/0.2491, allocations: 0.6194 MB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.2492, allocations: 12.02 kB / 0.9831 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.665e-05/0.2493, allocations: 46.55 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.2495, allocations: 39.66 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.25, allocations: 262.4 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.25, allocations: 12.28 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.25, allocations: 12 kB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008054/0.2509, allocations: 260.2 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2509, allocations: 0 / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.105e-05/0.2509, allocations: 11.94 kB / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.251, allocations: 0 / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.2521, allocations: 247.7 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.2536, allocations: 0.9462 MB / 0.9849 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.2549, allocations: 261.2 kB / 0.9851 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005817/0.2556, allocations: 125.6 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.759e-05/0.2556, allocations: 4 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.2557, allocations: 38.5 kB / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 3.105e-06/0.2557, allocations: 0 / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.002004/0.2577, allocations: 405.3 kB / 0.9857 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.2578, allocations: 81.09 kB / 0.9857 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.2581, allocations: 259 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.2582, allocations: 29.7 kB / 0.986 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.2583, allocations: 172.1 kB / 0.9862 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.009e-05/0.2584, allocations: 51.27 kB / 0.9862 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-05/0.2584, allocations: 0 / 0.9862 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.081e-05/0.2585, allocations: 342.8 kB / 0.9866 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005858/0.2591, allocations: 107.9 kB / 0.9867 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005866/0.2597, allocations: 168.5 kB / 0.9868 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005852/0.2603, allocations: 127.9 kB / 0.9869 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2603, allocations: 3.938 kB / 0.9869 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001429/0.2617, allocations: 337 kB / 0.9873 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.2618, allocations: 4 kB / 0.9873 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.2618, allocations: 4 kB / 0.9873 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.2619, allocations: 4 kB / 0.9873 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005266/0.2624, allocations: 68.08 kB / 0.9873 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.2624, allocations: 3.938 kB / 0.9873 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004281/0.2629, allocations: 59.73 kB / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.2629, allocations: 8 kB / 0.9874 GB, free: 18.76 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.0001997/0.2631, allocations: 129.8 kB / 0.9875 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.2633, allocations: 23.81 kB / 0.9876 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.2647, allocations: 343.7 kB / 0.9879 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.2647, allocations: 0 / 0.9879 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.2647, allocations: 4 kB / 0.9879 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.2648, allocations: 7.984 kB / 0.9879 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.2653, allocations: 301.4 kB / 0.9882 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2653, allocations: 0 / 0.9882 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/0.2658, allocations: 63.89 kB / 0.9882 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.2658, allocations: 0 / 0.9882 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.2658, allocations: 8 kB / 0.9882 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.2659, allocations: 4 kB / 0.9883 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2659, allocations: 3.984 kB / 0.9883 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.2673, allocations: 488.8 kB / 0.9887 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.964e-05/0.2674, allocations: 100.8 kB / 0.9888 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/0.2675, allocations: 8 kB / 0.9888 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.2679, allocations: 35.97 kB / 0.9889 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.2681, allocations: 15.97 kB / 0.9889 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.2681, allocations: 8 kB / 0.9889 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002271/0.2683, allocations: 186 kB / 0.9891 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2683, allocations: 0 / 0.9891 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005201/0.2689, allocations: 68.09 kB / 0.9891 GB, free: 16.91 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.001698/0.2706, allocations: 1.024 MB / 0.9901 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.272, allocations: 275.8 kB / 0.9904 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.272, allocations: 0 / 0.9904 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006349/0.2726, allocations: 143.8 kB / 0.9905 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008807/0.2735, allocations: 69.34 kB / 0.9906 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/0.2777, allocations: 1.563 MB / 0.9921 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.278, allocations: 0.7521 MB / 0.9929 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002736/0.2783, allocations: 22.3 kB / 0.9929 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.2785, allocations: 87.41 kB / 0.993 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of SimCode: time 1.267e-05/0.2785, allocations: 0 / 0.993 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.3113, allocations: 5.833 MB / 0.9987 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002705/0.3116, allocations: 202.2 kB / 0.9988 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.778/3.089, allocations: 0 / 0.9988 GB, free: 6.992 MB / 0.6198 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)