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 1.57/1.57, allocations: 287.4 MB / 302.6 MB, free: 8.227 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.0009766/0.0009766, allocations: 191.1 kB / 371.1 MB, free: 10.81 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.406/1.406, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007651/0.0007649, allocations: 96.52 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.000379, allocations: 13.11 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2376, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002044/0.2397, allocations: 1.784 MB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.241, allocations: 0.9809 MB / 0.9814 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.2411, allocations: 3.938 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.2412, allocations: 15.84 kB / 0.9815 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.2415, allocations: 71.42 kB / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.2418, allocations: 137.1 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.242, allocations: 266.8 kB / 0.9819 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.2422, allocations: 53 kB / 0.982 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.647e-05/0.2423, allocations: 95.55 kB / 0.9821 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.2425, allocations: 123.5 kB / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.2425, allocations: 8 kB / 0.9822 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.2428, allocations: 275.7 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.34e-05/0.2429, allocations: 39.81 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.2429, allocations: 65.52 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.2431, allocations: 219.4 kB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2432, allocations: 0 / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.026e-06/0.2432, allocations: 0 / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2432, allocations: 3.938 kB / 0.9828 GB, free: 23.92 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.0008642/0.244, allocations: 0.6139 MB / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2441, allocations: 8.031 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.303e-05/0.2442, allocations: 50.73 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.2444, allocations: 40.55 kB / 0.9835 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.2446, allocations: 279.5 kB / 0.9837 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2447, allocations: 12.66 kB / 0.9837 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.2447, allocations: 19.94 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004757/0.2452, allocations: 252.2 kB / 0.984 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.2452, allocations: 4 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.2452, allocations: 4 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2452, allocations: 4 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006041/0.2458, allocations: 239.8 kB / 0.9842 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009559/0.2468, allocations: 0.9461 MB / 0.9852 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007117/0.2475, allocations: 261.4 kB / 0.9854 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.2478, allocations: 133.8 kB / 0.9855 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.2479, allocations: 0 / 0.9855 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.2479, allocations: 38.56 kB / 0.9856 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.2479, allocations: 3.984 kB / 0.9856 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001116/0.249, allocations: 397.1 kB / 0.986 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.2491, allocations: 89.03 kB / 0.986 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.2493, allocations: 266.9 kB / 0.9863 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.2493, allocations: 33.7 kB / 0.9863 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.947e-05/0.2494, allocations: 160.1 kB / 0.9865 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.2494, allocations: 51.2 kB / 0.9865 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.2494, allocations: 8 kB / 0.9865 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.432e-05/0.2495, allocations: 334.8 kB / 0.9869 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/0.2498, allocations: 111.9 kB / 0.987 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.2501, allocations: 161.9 kB / 0.9871 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006039/0.2508, allocations: 289.7 kB / 0.9874 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2508, allocations: 0 / 0.9874 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007561/0.2515, allocations: 329.8 kB / 0.9877 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2516, allocations: 15.88 kB / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2516, allocations: 0 / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.2516, allocations: 4 kB / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.2519, allocations: 68.08 kB / 0.9878 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.2519, allocations: 7.984 kB / 0.9878 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.2521, allocations: 51.75 kB / 0.9878 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.2521, allocations: 8.078 kB / 0.9879 GB, free: 18.38 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 9.798e-05/0.2522, allocations: 141.8 kB / 0.988 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/0.2523, allocations: 27.62 kB / 0.988 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000783/0.2531, allocations: 335.2 kB / 0.9883 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.2531, allocations: 4 kB / 0.9883 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2531, allocations: 0 / 0.9883 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2532, allocations: 3.984 kB / 0.9883 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.2535, allocations: 297.3 kB / 0.9886 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2535, allocations: 0 / 0.9886 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.2537, allocations: 67.89 kB / 0.9887 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2537, allocations: 4 kB / 0.9887 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.2537, allocations: 4 kB / 0.9887 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.2537, allocations: 4 kB / 0.9887 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2537, allocations: 0 / 0.9887 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007345/0.2545, allocations: 490.2 kB / 0.9892 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/0.2545, allocations: 108.7 kB / 0.9893 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.2546, allocations: 4 kB / 0.9893 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.2548, allocations: 39.95 kB / 0.9893 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.2549, allocations: 23.97 kB / 0.9893 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.2549, allocations: 4 kB / 0.9893 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001366/0.2551, allocations: 190 kB / 0.9895 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2551, allocations: 0 / 0.9895 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003143/0.2554, allocations: 56.25 kB / 0.9896 GB, free: 16.52 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.001031/0.2564, allocations: 1.024 MB / 0.9906 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006863/0.2571, allocations: 274 kB / 0.9908 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2572, allocations: 0 / 0.9908 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003178/0.2575, allocations: 144 kB / 0.991 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005592/0.2581, allocations: 72.77 kB / 0.991 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.2604, allocations: 1.563 MB / 0.9926 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.2606, allocations: 0.7447 MB / 0.9933 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001561/0.2608, allocations: 38.27 kB / 0.9933 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.2609, allocations: 83.41 kB / 0.9934 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.2609, allocations: 0 / 0.9934 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1351/0.396, allocations: 5.809 MB / 0.9991 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.3963, allocations: 213.2 kB / 0.9993 GB, free: 6.609 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/2.589, allocations: 0 / 0.9993 GB, free: 6.609 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)