Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 191.2 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.64/1.64, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 62.95 kB / 0.6709 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.236, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002846/0.2389, allocations: 1.483 MB / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005139/0.2394, allocations: 209.3 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.2395, allocations: 4 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/0.2395, allocations: 0 / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.279e-05/0.2396, allocations: 7.922 kB / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.2398, allocations: 15.92 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.517e-05/0.2399, allocations: 23.92 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.988e-05/0.24, allocations: 8 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.966e-05/0.24, allocations: 15.91 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.682e-05/0.2401, allocations: 4 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.2401, allocations: 4 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-05/0.2402, allocations: 31.97 kB / 0.7845 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.2402, allocations: 4 kB / 0.7845 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.2402, allocations: 7.938 kB / 0.7845 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.2404, allocations: 44.05 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2404, allocations: 0 / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2404, allocations: 0 / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.2404, allocations: 0 / 0.7846 GB, free: 12.03 MB / 0.6075 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.0004808/0.2409, allocations: 339.5 kB / 0.7849 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.2409, allocations: 12.02 kB / 0.7849 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.33e-05/0.241, allocations: 34.75 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.2411, allocations: 8.938 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.2412, allocations: 164.3 kB / 0.7851 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.2413, allocations: 384 / 0.7851 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.2413, allocations: 4.375 kB / 0.7851 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.2415, allocations: 54.17 kB / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.2415, allocations: 3.938 kB / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.2415, allocations: 0 / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2415, allocations: 0 / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.2417, allocations: 35.95 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.242, allocations: 248.8 kB / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.2421, allocations: 46.47 kB / 0.7855 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.358e-05/0.2422, allocations: 20.91 kB / 0.7855 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.2423, allocations: 0 / 0.7855 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.2423, allocations: 38.56 kB / 0.7856 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.2423, allocations: 3.938 kB / 0.7856 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003472/0.2426, allocations: 73.64 kB / 0.7856 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.2427, allocations: 55.53 kB / 0.7857 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.025e-05/0.2428, allocations: 105.8 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.2428, allocations: 25.7 kB / 0.7858 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.2428, allocations: 80.14 kB / 0.7859 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.2429, allocations: 7.906 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.2429, allocations: 17.66 kB / 0.7859 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.243, allocations: 314.8 kB / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.099e-05/0.2431, allocations: 19.98 kB / 0.7862 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.561e-05/0.2432, allocations: 15.98 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.2433, allocations: 40.83 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2433, allocations: 3.938 kB / 0.7863 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001838/0.2435, allocations: 65.66 kB / 0.7864 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2436, allocations: 12.09 kB / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2436, allocations: 0 / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2436, allocations: 0 / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.015e-05/0.2437, allocations: 7.984 kB / 0.7864 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2437, allocations: 7.938 kB / 0.7864 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.07e-05/0.2438, allocations: 3.984 kB / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.2438, allocations: 4 kB / 0.7864 GB, free: 9.957 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.567e-05/0.2438, allocations: 114.4 kB / 0.7865 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.2439, allocations: 0 / 0.7865 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.2441, allocations: 84.86 kB / 0.7866 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.2441, allocations: 8.031 kB / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2441, allocations: 0 / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.2442, allocations: 0 / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.2443, allocations: 161.6 kB / 0.7867 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2443, allocations: 0 / 0.7867 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.739e-05/0.2444, allocations: 11.98 kB / 0.7867 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2444, allocations: 4 kB / 0.7868 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.2444, allocations: 0 / 0.7868 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2444, allocations: 3.938 kB / 0.7868 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2444, allocations: 0 / 0.7868 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.2447, allocations: 171.4 kB / 0.7869 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.2447, allocations: 77.11 kB / 0.787 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.2447, allocations: 7.938 kB / 0.787 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.974e-05/0.2448, allocations: 7.984 kB / 0.787 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.2449, allocations: 4 kB / 0.787 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.2449, allocations: 0 / 0.787 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.767e-05/0.2449, allocations: 83.28 kB / 0.7871 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2449, allocations: 0 / 0.7871 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002046/0.2451, allocations: 4 kB / 0.7871 GB, free: 9.129 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004997/0.2456, allocations: 0.7084 MB / 0.7878 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.2458, allocations: 35.95 kB / 0.7878 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2458, allocations: 4 kB / 0.7878 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.027e-05/0.2459, allocations: 24.05 kB / 0.7878 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.2462, allocations: 3.938 kB / 0.7879 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.2467, allocations: 158 kB / 0.788 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.2469, allocations: 0.6731 MB / 0.7887 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.247, allocations: 7.984 kB / 0.7887 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.247, allocations: 7.438 kB / 0.7887 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.247, allocations: 0 / 0.7887 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01053/0.2576, allocations: 1.171 MB / 0.7898 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.2578, allocations: 225.3 kB / 0.79 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/1.838, allocations: 4 kB / 0.79 GB, free: 6.125 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)