Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",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.0008789/0.0008789, allocations: 90.52 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.005818/0.005819, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.288/1.288, allocations: 223.2 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001755/0.001755, allocations: 267.1 kB / 291.7 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8874/0.8874, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003704, allocations: 14.5 kB / 0.5988 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1331, allocations: 88.53 MB / 0.6852 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001437/0.1346, allocations: 1.14 MB / 0.6863 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008618/0.1355, allocations: 0.5842 MB / 0.6869 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.625e-05/0.1355, allocations: 4 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.1355, allocations: 0 / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.55e-05/0.1356, allocations: 7.922 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.1359, allocations: 84.86 kB / 0.687 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.986e-05/0.1359, allocations: 29.8 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.366e-05/0.136, allocations: 4 kB / 0.687 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.18e-05/0.136, allocations: 8 kB / 0.687 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.924e-05/0.1361, allocations: 11.92 kB / 0.687 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.1361, allocations: 1.406 kB / 0.687 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.1363, allocations: 151.8 kB / 0.6872 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.244e-06/0.1364, allocations: 0 / 0.6872 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.1364, allocations: 41.62 kB / 0.6872 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.1366, allocations: 97 kB / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.1366, allocations: 7.938 kB / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1366, allocations: 0 / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.615e-06/0.1366, allocations: 0.75 kB / 0.6873 GB, free: 12.84 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.0003687/0.137, allocations: 360.7 kB / 0.6877 GB, free: 12.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.137, allocations: 13.75 kB / 0.6877 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.1371, allocations: 30.75 kB / 0.6877 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003663/0.1374, allocations: 31.81 kB / 0.6877 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.912e-05/0.1375, allocations: 168.3 kB / 0.6879 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.583e-06/0.1375, allocations: 384 / 0.6879 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.1376, allocations: 8.359 kB / 0.6879 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.1378, allocations: 75.67 kB / 0.688 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1378, allocations: 3.938 kB / 0.688 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1378, allocations: 0 / 0.688 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1378, allocations: 0.625 kB / 0.688 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.1381, allocations: 67.66 kB / 0.6881 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.1385, allocations: 269.4 kB / 0.6883 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.1387, allocations: 74.41 kB / 0.6884 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.1388, allocations: 40.89 kB / 0.6884 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.1389, allocations: 0 / 0.6884 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.1389, allocations: 30.56 kB / 0.6885 GB, free: 11.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.1389, allocations: 0 / 0.6885 GB, free: 11.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004673/0.1394, allocations: 125.6 kB / 0.6886 GB, free: 11.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.1394, allocations: 51.41 kB / 0.6886 GB, free: 11.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.694e-05/0.1395, allocations: 105.8 kB / 0.6887 GB, free: 11.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.1395, allocations: 33.77 kB / 0.6888 GB, free: 11.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.205e-05/0.1395, allocations: 84.05 kB / 0.6888 GB, free: 11.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.1395, allocations: 4 kB / 0.6888 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.1396, allocations: 9.719 kB / 0.6888 GB, free: 11.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.1397, allocations: 318.8 kB / 0.6892 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1398, allocations: 27.97 kB / 0.6892 GB, free: 10.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.1399, allocations: 35.97 kB / 0.6892 GB, free: 10.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.1402, allocations: 68.86 kB / 0.6893 GB, free: 10.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.1402, allocations: 7.938 kB / 0.6893 GB, free: 10.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002909/0.1405, allocations: 101.5 kB / 0.6894 GB, free: 10.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1405, allocations: 5.719 kB / 0.6894 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1405, allocations: 4 kB / 0.6894 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.1405, allocations: 4 kB / 0.6894 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.1407, allocations: 19.91 kB / 0.6894 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.1407, allocations: 0 / 0.6894 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.656e-05/0.1408, allocations: 16.02 kB / 0.6894 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.1408, allocations: 0 / 0.6894 GB, free: 10.46 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 6.344e-05/0.1408, allocations: 115.1 kB / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.1409, allocations: 0 / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.1409, allocations: 11.12 kB / 0.6896 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1409, allocations: 0 / 0.6896 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.1409, allocations: 0 / 0.6896 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.1409, allocations: 4 kB / 0.6896 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.1411, allocations: 165.6 kB / 0.6897 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.1411, allocations: 0 / 0.6897 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.1412, allocations: 15.98 kB / 0.6897 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.1412, allocations: 0 / 0.6897 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.1412, allocations: 4 kB / 0.6897 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1412, allocations: 4 kB / 0.6897 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1412, allocations: 0 / 0.6897 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.1415, allocations: 199.3 kB / 0.6899 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.1416, allocations: 85.02 kB / 0.69 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1416, allocations: 4.031 kB / 0.69 GB, free: 9.773 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1417, allocations: 15.98 kB / 0.69 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.1418, allocations: 0 / 0.69 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1418, allocations: 4.172 kB / 0.69 GB, free: 9.754 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.042e-05/0.1418, allocations: 83.27 kB / 0.6901 GB, free: 9.672 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1418, allocations: 0 / 0.6901 GB, free: 9.672 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000219/0.142, allocations: 12 kB / 0.6901 GB, free: 9.66 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 (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 Backend phase and start with SimCode phase: time 0.000582/0.1426, allocations: 0.7553 MB / 0.6909 GB, free: 8.875 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.1429, allocations: 75.88 kB / 0.6909 GB, free: 8.801 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1429, allocations: 0 / 0.6909 GB, free: 8.801 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.1431, allocations: 31.97 kB / 0.691 GB, free: 8.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.1433, allocations: 6.719 kB / 0.691 GB, free: 8.766 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.1438, allocations: 174.4 kB / 0.6911 GB, free: 8.559 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.144, allocations: 0.677 MB / 0.6918 GB, free: 7.855 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.936e-05/0.1441, allocations: 8 kB / 0.6918 GB, free: 7.848 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.1441, allocations: 15.36 kB / 0.6918 GB, free: 7.832 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1441, allocations: 0 / 0.6918 GB, free: 7.832 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2123/0.3564, allocations: 1.414 MB / 0.6932 GB, free: 6.598 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002787/0.3568, allocations: 228.5 kB / 0.6934 GB, free: 6.344 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.065/2.422, allocations: 0 / 0.6934 GB, free: 6.344 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)