Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_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.0009092/0.0009095, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.00595/0.00595, allocations: 171.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001621/0.001621, allocations: 267 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8617/0.8617, allocations: 169.5 MB / 0.5004 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000442/0.0004421, allocations: 17.62 kB / 0.5988 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1387, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001499/0.1403, allocations: 1.134 MB / 0.6863 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004249/0.1407, allocations: 193.7 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.1407, allocations: 0 / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.1408, allocations: 0.75 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.275e-05/0.1408, allocations: 11.92 kB / 0.6865 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.141, allocations: 17.16 kB / 0.6865 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.899e-05/0.1411, allocations: 19.88 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.931e-05/0.1412, allocations: 16.53 kB / 0.6866 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.122e-05/0.1412, allocations: 9.312 kB / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.483e-05/0.1413, allocations: 11.98 kB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.1413, allocations: 0 / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.026e-05/0.1414, allocations: 27.92 kB / 0.6866 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.1414, allocations: 1.344 kB / 0.6866 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.1414, allocations: 33.64 kB / 0.6867 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.1415, allocations: 39.88 kB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1416, allocations: 1.531 kB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.1416, allocations: 0 / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1416, allocations: 3.938 kB / 0.6867 GB, free: 13.43 MB / 494.1 MB 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.0004395/0.142, allocations: 342.4 kB / 0.687 GB, free: 13.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.1421, allocations: 12.03 kB / 0.687 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.446e-05/0.1421, allocations: 30.75 kB / 0.6871 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.341e-05/0.1422, allocations: 8.844 kB / 0.6871 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.1424, allocations: 160.4 kB / 0.6872 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.1424, allocations: 8.812 kB / 0.6872 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.1424, allocations: 8.859 kB / 0.6873 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1426, allocations: 55.58 kB / 0.6873 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1426, allocations: 9.688 kB / 0.6873 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.1426, allocations: 0 / 0.6873 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1426, allocations: 3.984 kB / 0.6873 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.1428, allocations: 41.34 kB / 0.6874 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.1431, allocations: 246.7 kB / 0.6876 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1433, allocations: 50.25 kB / 0.6876 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.554e-05/0.1434, allocations: 20.91 kB / 0.6877 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.1434, allocations: 0 / 0.6877 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.1434, allocations: 40.56 kB / 0.6877 GB, free: 12.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.1434, allocations: 0 / 0.6877 GB, free: 12.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003523/0.1438, allocations: 95.86 kB / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.1438, allocations: 52.72 kB / 0.6878 GB, free: 12.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.1439, allocations: 101.8 kB / 0.6879 GB, free: 11.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.144, allocations: 30.45 kB / 0.688 GB, free: 11.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.144, allocations: 84.05 kB / 0.688 GB, free: 11.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.144, allocations: 8.641 kB / 0.6881 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.1441, allocations: 9.719 kB / 0.6881 GB, free: 11.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1442, allocations: 318.8 kB / 0.6884 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.492e-05/0.1443, allocations: 19.98 kB / 0.6884 GB, free: 11.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.836e-05/0.1443, allocations: 27.92 kB / 0.6884 GB, free: 11.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.1445, allocations: 48.81 kB / 0.6885 GB, free: 11.42 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.1445, allocations: 3.938 kB / 0.6885 GB, free: 11.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001991/0.1447, allocations: 77.64 kB / 0.6885 GB, free: 11.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1448, allocations: 4 kB / 0.6885 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1448, allocations: 0 / 0.6885 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1448, allocations: 3.984 kB / 0.6885 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.986e-05/0.1449, allocations: 12 kB / 0.6886 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1449, allocations: 32 / 0.6886 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.145, allocations: 15.98 kB / 0.6886 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.145, allocations: 0 / 0.6886 GB, free: 11.3 MB / 494.1 MB 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.283e-05/0.145, allocations: 119 kB / 0.6887 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.1451, allocations: 0 / 0.6887 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.1453, allocations: 92.77 kB / 0.6888 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1453, allocations: 7.875 kB / 0.6888 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1453, allocations: 4 kB / 0.6888 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1454, allocations: 0 / 0.6888 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.1455, allocations: 161.6 kB / 0.6889 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1455, allocations: 0 / 0.6889 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.814e-05/0.1456, allocations: 16 kB / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1456, allocations: 0 / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1456, allocations: 0 / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1456, allocations: 0 / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1456, allocations: 3.984 kB / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.1459, allocations: 183.4 kB / 0.6891 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.1459, allocations: 84.95 kB / 0.6892 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1459, allocations: 8 kB / 0.6892 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.146, allocations: 7.984 kB / 0.6892 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.1461, allocations: 4 kB / 0.6892 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.1461, allocations: 0 / 0.6892 GB, free: 10.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.815e-05/0.1461, allocations: 83.55 kB / 0.6893 GB, free: 10.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1461, allocations: 4 kB / 0.6893 GB, free: 10.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002015/0.1463, allocations: 4 kB / 0.6893 GB, free: 10.43 MB / 494.1 MB 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.0005405/0.1469, allocations: 0.7163 MB / 0.69 GB, free: 9.688 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.1471, allocations: 47.95 kB / 0.6901 GB, free: 9.641 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1471, allocations: 0 / 0.6901 GB, free: 9.641 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.456e-05/0.1472, allocations: 32.05 kB / 0.6901 GB, free: 9.609 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.1475, allocations: 0.75 kB / 0.6901 GB, free: 9.609 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/0.148, allocations: 162.2 kB / 0.6903 GB, free: 9.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.1482, allocations: 0.6809 MB / 0.6909 GB, free: 8.703 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.266e-05/0.1483, allocations: 7.938 kB / 0.6909 GB, free: 8.695 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.1483, allocations: 11.44 kB / 0.6909 GB, free: 8.684 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1483, allocations: 0 / 0.6909 GB, free: 8.684 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3275/0.4759, allocations: 1.131 MB / 0.692 GB, free: 7.742 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/0.4761, allocations: 230.2 kB / 0.6923 GB, free: 7.488 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.348, allocations: 4 kB / 0.6923 GB, free: 7.484 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)