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 2.573/2.573, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.00163/0.001629, allocations: 186.9 kB / 370.8 MB, free: 10.84 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.228/2.228, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001221/0.001221, allocations: 99.44 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006843/0.0006846, allocations: 12.81 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2437, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001656/0.2455, allocations: 1.125 MB / 0.9794 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004546/0.246, allocations: 196.4 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.234e-05/0.246, allocations: 0 / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.246, allocations: 0 / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.977e-05/0.2461, allocations: 7.922 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.2463, allocations: 19.95 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.468e-05/0.2463, allocations: 15.98 kB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.167e-05/0.2464, allocations: 0 / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.202e-05/0.2465, allocations: 11.98 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.759e-05/0.2465, allocations: 7.938 kB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.2466, allocations: 4 kB / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.997e-05/0.2467, allocations: 35.95 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.2467, allocations: 0 / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.2467, allocations: 25.7 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.256e-05/0.2468, allocations: 28.19 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2468, allocations: 0 / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2468, allocations: 3.938 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2469, allocations: 0 / 0.9797 GB, free: 26.8 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.0004153/0.2473, allocations: 347.3 kB / 0.98 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2473, allocations: 16.02 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.2474, allocations: 34.5 kB / 0.9801 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.2475, allocations: 7.953 kB / 0.9801 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.643e-05/0.2476, allocations: 167 kB / 0.9803 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2476, allocations: 0 / 0.9803 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.2476, allocations: 4 kB / 0.9803 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.2479, allocations: 61.67 kB / 0.9803 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2479, allocations: 0 / 0.9803 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.2479, allocations: 0 / 0.9803 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2479, allocations: 0 / 0.9803 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.2482, allocations: 39.97 kB / 0.9804 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.2486, allocations: 260.8 kB / 0.9806 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.2488, allocations: 39.56 kB / 0.9806 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.2488, allocations: 4.062 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.2488, allocations: 34.56 kB / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.674e-06/0.2488, allocations: 0 / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005072/0.2493, allocations: 101.5 kB / 0.9808 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.2494, allocations: 59.48 kB / 0.9808 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.187e-05/0.2494, allocations: 105.8 kB / 0.9809 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.2495, allocations: 25.7 kB / 0.981 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.2495, allocations: 80.14 kB / 0.981 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.2495, allocations: 3.906 kB / 0.981 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.2495, allocations: 4 kB / 0.981 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.887e-05/0.2496, allocations: 318.8 kB / 0.9814 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.2498, allocations: 19.98 kB / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.2499, allocations: 23.98 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.25, allocations: 15.98 kB / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2501, allocations: 4.062 kB / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000303/0.2504, allocations: 77.66 kB / 0.9815 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2504, allocations: 11.94 kB / 0.9815 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2504, allocations: 0 / 0.9815 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2504, allocations: 4.125 kB / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.2506, allocations: 16.02 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2506, allocations: 0 / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.82e-05/0.2507, allocations: 15.94 kB / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.2507, allocations: 3.984 kB / 0.9815 GB, free: 24.71 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 6.008e-05/0.2508, allocations: 105.8 kB / 0.9816 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.2508, allocations: 4 kB / 0.9816 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/0.2512, allocations: 84.78 kB / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2512, allocations: 3.984 kB / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.2512, allocations: 0 / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2512, allocations: 0 / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.2514, allocations: 165.6 kB / 0.9819 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2514, allocations: 4 kB / 0.9819 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.2515, allocations: 19.92 kB / 0.9819 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2515, allocations: 0 / 0.9819 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.2516, allocations: 0 / 0.9819 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2516, allocations: 4 kB / 0.9819 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2516, allocations: 0 / 0.9819 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.2519, allocations: 179.4 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.722e-05/0.252, allocations: 85.09 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.252, allocations: 0 / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.2521, allocations: 4 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.2522, allocations: 11.92 kB / 0.9822 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.2522, allocations: 4 kB / 0.9822 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.201e-05/0.2523, allocations: 83.28 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2523, allocations: 0 / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002965/0.2526, allocations: 4 kB / 0.9823 GB, free: 23.86 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.000509/0.2531, allocations: 0.7124 MB / 0.983 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003071/0.2534, allocations: 47.97 kB / 0.983 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2534, allocations: 0 / 0.983 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.2536, allocations: 31.91 kB / 0.983 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.2538, allocations: 9.828 kB / 0.983 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.2543, allocations: 160 kB / 0.9832 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.2545, allocations: 0.6849 MB / 0.9839 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.566e-05/0.2545, allocations: 0 / 0.9839 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.2546, allocations: 11.44 kB / 0.9839 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.2546, allocations: 0 / 0.9839 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.2766, allocations: 1.092 MB / 0.9849 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/0.2769, allocations: 212.3 kB / 0.9851 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/2.75, allocations: 0 / 0.9851 GB, free: 20.95 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)