Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.747/1.747, allocations: 288.4 MB / 303.3 MB, free: 8.125 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.001047/0.001047, allocations: 183 kB / 372 MB, free: 10.23 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.753/1.753, allocations: 205.4 MB / 0.6307 GB, free: 9.934 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.000837/0.0008367, allocations: 92.59 kB / 0.7441 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004158/0.0004159, allocations: 11.47 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2538, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001543/0.2554, allocations: 1.121 MB / 0.9807 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004157/0.2558, allocations: 196.4 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.2559, allocations: 0 / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.2559, allocations: 4 kB / 0.9809 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.448e-05/0.2559, allocations: 3.938 kB / 0.9809 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.2561, allocations: 23.91 kB / 0.981 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.081e-05/0.2562, allocations: 23.86 kB / 0.981 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.458e-05/0.2563, allocations: 11.94 kB / 0.981 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.044e-05/0.2564, allocations: 11.98 kB / 0.981 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.229e-05/0.2564, allocations: 0 / 0.981 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.2565, allocations: 4 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.92e-05/0.2565, allocations: 23.97 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.366e-06/0.2566, allocations: 3.938 kB / 0.981 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.2566, allocations: 33.7 kB / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.194e-05/0.2567, allocations: 24.17 kB / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2567, allocations: 4 kB / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2567, allocations: 0 / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.2567, allocations: 4 kB / 0.9811 GB, free: 26.05 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.0004403/0.2572, allocations: 339.3 kB / 0.9814 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.2572, allocations: 12.03 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.2573, allocations: 30.56 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.2574, allocations: 0 / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.2575, allocations: 178.9 kB / 0.9816 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.2575, allocations: 0 / 0.9816 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.2575, allocations: 4 kB / 0.9816 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.2577, allocations: 57.61 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2577, allocations: 0 / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.2578, allocations: 0 / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2578, allocations: 4 kB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.2579, allocations: 47.95 kB / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.2583, allocations: 244.9 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.2584, allocations: 46.5 kB / 0.982 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.2585, allocations: 32.89 kB / 0.982 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.2585, allocations: 0 / 0.982 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.2585, allocations: 30.56 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.783e-06/0.2585, allocations: 0 / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003624/0.2589, allocations: 109.5 kB / 0.9822 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.2589, allocations: 51.41 kB / 0.9822 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.675e-05/0.259, allocations: 101.9 kB / 0.9823 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.259, allocations: 29.7 kB / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.2591, allocations: 84.12 kB / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.2591, allocations: 11.84 kB / 0.9824 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.2591, allocations: 0 / 0.9824 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.78e-05/0.2592, allocations: 314.8 kB / 0.9827 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.289e-05/0.2593, allocations: 15.98 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.316e-05/0.2594, allocations: 28.86 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.705e-05/0.2595, allocations: 23.97 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2595, allocations: 0 / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001823/0.2597, allocations: 73.73 kB / 0.9829 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2597, allocations: 7.938 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2597, allocations: 3.984 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2597, allocations: 0 / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.838e-05/0.2598, allocations: 8 kB / 0.9829 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2598, allocations: 0 / 0.9829 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.637e-05/0.2599, allocations: 19.97 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.2599, allocations: 4 kB / 0.9829 GB, free: 23.95 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 7.077e-05/0.26, allocations: 113.8 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.26, allocations: 0 / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.2603, allocations: 88.77 kB / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.2603, allocations: 0 / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2603, allocations: 4 kB / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2603, allocations: 0 / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.2605, allocations: 161.6 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2605, allocations: 0 / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.767e-05/0.2606, allocations: 16 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2606, allocations: 4 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.2606, allocations: 240 / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2606, allocations: 3.984 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2606, allocations: 0 / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.2609, allocations: 191.3 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.2609, allocations: 77.11 kB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.2609, allocations: 4 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.261, allocations: 15.92 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.2611, allocations: 0 / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.2611, allocations: 4 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.455e-05/0.2611, allocations: 79.27 kB / 0.9836 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2611, allocations: 0 / 0.9836 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001907/0.2613, allocations: 12 kB / 0.9837 GB, free: 23.09 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.000513/0.2618, allocations: 0.7124 MB / 0.9844 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.2621, allocations: 47.95 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2621, allocations: 0 / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.89e-05/0.2622, allocations: 28.05 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.2625, allocations: 9.625 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.2631, allocations: 162.1 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.2633, allocations: 0.677 MB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.777e-05/0.2634, allocations: 4 kB / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.62e-05/0.2634, allocations: 15.44 kB / 0.9853 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2634, allocations: 3.938 kB / 0.9853 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/0.275, allocations: 1.111 MB / 0.9864 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.2752, allocations: 225.4 kB / 0.9866 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/1.895, allocations: 3 kB / 0.9866 GB, free: 20.17 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)