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.843/2.843, allocations: 287.5 MB / 302.4 MB, free: 8.266 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.0013/0.001299, allocations: 176.7 kB / 371 MB, free: 10.86 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.168/2.168, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009662/0.0009663, allocations: 90.75 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009832/0.0009843, allocations: 16.59 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2393, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001715/0.2411, allocations: 1.129 MB / 0.9795 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005116/0.2417, allocations: 188.5 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.2417, allocations: 3.938 kB / 0.9797 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.029e-05/0.2418, allocations: 7.922 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.733e-05/0.2418, allocations: 4 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.242, allocations: 19.92 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.553e-05/0.2421, allocations: 23.92 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.562e-05/0.2422, allocations: 3.984 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.697e-05/0.2423, allocations: 11.94 kB / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.122e-05/0.2424, allocations: 7.984 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.2424, allocations: 0 / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.2425, allocations: 27.92 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.2425, allocations: 7.922 kB / 0.9798 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.2425, allocations: 29.7 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.2427, allocations: 28.17 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.2427, allocations: 0 / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2427, allocations: 4 kB / 0.9799 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2427, allocations: 0 / 0.9799 GB, free: 26.76 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.0004459/0.2432, allocations: 345.4 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.2432, allocations: 12.02 kB / 0.9802 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.2433, allocations: 30.56 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.2434, allocations: 7.953 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.912e-05/0.2435, allocations: 167 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.2435, allocations: 4 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.2435, allocations: 0 / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.2438, allocations: 57.61 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2438, allocations: 0 / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.2438, allocations: 0 / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2438, allocations: 0 / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002688/0.2441, allocations: 47.95 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.2445, allocations: 248.9 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.2447, allocations: 46.59 kB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.2448, allocations: 32.84 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.2449, allocations: 0 / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.2449, allocations: 30.56 kB / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.542e-06/0.2449, allocations: 3.938 kB / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005162/0.2454, allocations: 101.5 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.2455, allocations: 59.48 kB / 0.981 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.44e-05/0.2456, allocations: 105.8 kB / 0.9811 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.2456, allocations: 29.7 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.2456, allocations: 80.14 kB / 0.9812 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.2457, allocations: 3.906 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.2457, allocations: 0 / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.25e-05/0.2457, allocations: 314.8 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.2459, allocations: 31.91 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.246, allocations: 20.86 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.2462, allocations: 19.98 kB / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2462, allocations: 0 / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003217/0.2465, allocations: 77.72 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2466, allocations: 8 kB / 0.9817 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2466, allocations: 0 / 0.9817 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2466, allocations: 0 / 0.9817 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.2467, allocations: 11.98 kB / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.2468, allocations: 11.92 kB / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.445e-05/0.2469, allocations: 8 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.2469, allocations: 3.984 kB / 0.9817 GB, free: 24.66 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.613e-05/0.247, allocations: 109.8 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.247, allocations: 4 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/0.2474, allocations: 88.72 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2474, allocations: 0 / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.2474, allocations: 3.984 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.2474, allocations: 3.953 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.2476, allocations: 157.7 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-06/0.2476, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.2477, allocations: 15.98 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2477, allocations: 0 / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.2478, allocations: 4 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2478, allocations: 4 kB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2478, allocations: 0 / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.2481, allocations: 187.3 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.2482, allocations: 77.11 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.2482, allocations: 7.922 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.2483, allocations: 12 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.2484, allocations: 3.984 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.2484, allocations: 0 / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.169e-05/0.2485, allocations: 83.28 kB / 0.9825 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2485, allocations: 0 / 0.9825 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002903/0.2488, allocations: 4 kB / 0.9825 GB, free: 23.8 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.0005347/0.2493, allocations: 0.7163 MB / 0.9832 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003169/0.2496, allocations: 43.97 kB / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2497, allocations: 64 / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.2498, allocations: 35.97 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.2502, allocations: 3.938 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005539/0.2507, allocations: 162.1 kB / 0.9834 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.2509, allocations: 0.677 MB / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.824e-05/0.2509, allocations: 4 kB / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.251, allocations: 15.42 kB / 0.9841 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of SimCode: time 9.52e-07/0.251, allocations: 0 / 0.9841 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.2739, allocations: 1.117 MB / 0.9852 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002751/0.2742, allocations: 210.1 kB / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/2.878, allocations: 3.938 kB / 0.9854 GB, free: 20.88 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)