Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.622/1.622, allocations: 287.4 MB / 302.6 MB, free: 8.352 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.001029/0.001029, allocations: 170.7 kB / 371.1 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 1.878/1.878, 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.0009451/0.0009454, allocations: 90.52 kB / 0.7431 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004638, allocations: 11.5 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2563, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00181/0.2582, allocations: 1.121 MB / 0.9798 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000483/0.2588, allocations: 196.4 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.2588, allocations: 4 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.2589, allocations: 0 / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.396e-05/0.259, allocations: 3.938 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.2592, allocations: 23.91 kB / 0.98 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.314e-05/0.2593, allocations: 27.86 kB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.089e-05/0.2594, allocations: 0 / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.323e-05/0.2595, allocations: 15.92 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.767e-05/0.2595, allocations: 4 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.2595, allocations: 7.984 kB / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.011e-05/0.2596, allocations: 27.97 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.006e-05/0.2596, allocations: 0 / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.2597, allocations: 29.7 kB / 0.9801 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.834e-05/0.2598, allocations: 28.12 kB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.2598, allocations: 0 / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2598, allocations: 0 / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.2598, allocations: 0 / 0.9802 GB, free: 26.6 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004011/0.2602, allocations: 353.7 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.2603, allocations: 8.031 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.989e-05/0.2603, allocations: 34.75 kB / 0.9806 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.2604, allocations: 4.938 kB / 0.9806 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.564e-05/0.2605, allocations: 168.3 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.2605, allocations: 4.375 kB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.2605, allocations: 384 / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.2607, allocations: 58.23 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2607, allocations: 3.938 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.2607, allocations: 0 / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2607, allocations: 0 / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.2609, allocations: 47.89 kB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.2612, allocations: 252.9 kB / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.2614, allocations: 46.5 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.395e-05/0.2615, allocations: 32.89 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.2615, allocations: 4 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.2615, allocations: 34.5 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2615, allocations: 0 / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003588/0.2619, allocations: 101.6 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.2619, allocations: 51.41 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.119e-05/0.262, allocations: 105.8 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.262, allocations: 25.7 kB / 0.9815 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.262, allocations: 84.12 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.2621, allocations: 7.891 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.2621, allocations: 4.125 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.016e-05/0.2621, allocations: 318.8 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.377e-05/0.2622, allocations: 15.98 kB / 0.9819 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.893e-05/0.2623, allocations: 23.98 kB / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.2625, allocations: 56.81 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2625, allocations: 3.938 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001691/0.2626, allocations: 77.66 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2627, allocations: 4 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2627, allocations: 0 / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.2627, allocations: 0 / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.495e-05/0.2628, allocations: 12 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2628, allocations: 0 / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.991e-05/0.2629, allocations: 12.02 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.2629, allocations: 0 / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 5.2e-05/0.2629, allocations: 117.8 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.2629, allocations: 4 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.2632, allocations: 92.7 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2632, allocations: 4 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2632, allocations: 0 / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2632, allocations: 0 / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.2633, allocations: 161.6 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2633, allocations: 0 / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.209e-05/0.2634, allocations: 12 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2634, allocations: 3.984 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.2634, allocations: 4 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.2634, allocations: 0 / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2634, allocations: 0 / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.2636, allocations: 187.3 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.2637, allocations: 77.11 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.2637, allocations: 8 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/0.2638, allocations: 7.984 kB / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.2638, allocations: 0 / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.2638, allocations: 7.938 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.118e-05/0.2639, allocations: 83.55 kB / 0.9828 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2639, allocations: 7.938 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001851/0.2641, allocations: 4 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0003875/0.2644, allocations: 0.7126 MB / 0.9835 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001931/0.2646, allocations: 51.89 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2647, allocations: 0 / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/0.2647, allocations: 28.05 kB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.265, allocations: 14.05 kB / 0.9836 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.2654, allocations: 159.3 kB / 0.9837 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.2655, allocations: 0.677 MB / 0.9844 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.2656, allocations: 4 kB / 0.9844 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.2656, allocations: 15.38 kB / 0.9844 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2656, allocations: 0 / 0.9844 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01212/0.2777, allocations: 1.091 MB / 0.9855 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.2779, allocations: 207.9 kB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/1.817, allocations: 0 / 0.9857 GB, free: 20.68 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)