Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.0008578/0.000858, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005934/0.005934, allocations: 170 kB / 16.27 MB, free: 6.652 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.274/1.274, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00161/0.00161, allocations: 270.3 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9129/0.9129, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003993, allocations: 18.84 kB / 0.5988 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1625, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001652/0.1642, allocations: 1.38 MB / 0.6866 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000722/0.1649, allocations: 397.7 kB / 0.6869 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.41e-05/0.165, allocations: 0.75 kB / 0.6869 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.687e-05/0.1651, allocations: 11.88 kB / 0.687 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.947e-05/0.1652, allocations: 21.16 kB / 0.687 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.1656, allocations: 108 kB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.1657, allocations: 99.64 kB / 0.6872 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1658, allocations: 54.66 kB / 0.6872 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.835e-05/0.1659, allocations: 27.92 kB / 0.6873 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.138e-05/0.166, allocations: 36.28 kB / 0.6873 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.166, allocations: 4.656 kB / 0.6873 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1661, allocations: 59.95 kB / 0.6874 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.1662, allocations: 20.88 kB / 0.6874 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.1662, allocations: 57.5 kB / 0.6874 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.1664, allocations: 123.6 kB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.1664, allocations: 3.438 kB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1664, allocations: 0 / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1664, allocations: 0 / 0.6875 GB, free: 12.59 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000495/0.1669, allocations: 407.2 kB / 0.6879 GB, free: 12.14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.167, allocations: 8.688 kB / 0.6879 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.167, allocations: 42.69 kB / 0.688 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.1672, allocations: 30.28 kB / 0.688 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.1674, allocations: 188.2 kB / 0.6882 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.606e-05/0.1675, allocations: 39.98 kB / 0.6882 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.1675, allocations: 4.375 kB / 0.6882 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.1678, allocations: 119.6 kB / 0.6884 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-06/0.1678, allocations: 0 / 0.6884 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.1678, allocations: 4 kB / 0.6884 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1678, allocations: 7.938 kB / 0.6884 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.1681, allocations: 95.92 kB / 0.6885 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.1687, allocations: 388.4 kB / 0.6888 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/0.1692, allocations: 134.6 kB / 0.689 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.1693, allocations: 48.84 kB / 0.689 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.1693, allocations: 0 / 0.689 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.1694, allocations: 38.55 kB / 0.689 GB, free: 10.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.1694, allocations: 3.938 kB / 0.689 GB, free: 10.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004142/0.1698, allocations: 149.6 kB / 0.6892 GB, free: 10.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.1698, allocations: 59.34 kB / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.1699, allocations: 136.3 kB / 0.6894 GB, free: 10.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.17, allocations: 25.7 kB / 0.6894 GB, free: 10.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.17, allocations: 104 kB / 0.6895 GB, free: 10.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.17, allocations: 23.64 kB / 0.6895 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.1701, allocations: 21.72 kB / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.1702, allocations: 318.8 kB / 0.6898 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.1703, allocations: 31.97 kB / 0.6899 GB, free: 9.984 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.1704, allocations: 61.83 kB / 0.6899 GB, free: 9.918 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.1706, allocations: 82.09 kB / 0.69 GB, free: 9.832 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1706, allocations: 0 / 0.69 GB, free: 9.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002618/0.1709, allocations: 129.5 kB / 0.6901 GB, free: 9.699 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1709, allocations: 4 kB / 0.6901 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1709, allocations: 0 / 0.6901 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1709, allocations: 11.88 kB / 0.6901 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1711, allocations: 19.98 kB / 0.6902 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1711, allocations: 4.031 kB / 0.6902 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.77e-05/0.1712, allocations: 19.84 kB / 0.6902 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1712, allocations: 3.984 kB / 0.6902 GB, free: 9.637 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.352e-05/0.1713, allocations: 115.2 kB / 0.6903 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.1713, allocations: 7.906 kB / 0.6903 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.1713, allocations: 16.72 kB / 0.6903 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.1713, allocations: 7.922 kB / 0.6903 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1713, allocations: 0 / 0.6903 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1714, allocations: 4 kB / 0.6903 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.1715, allocations: 201.6 kB / 0.6905 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1715, allocations: 0 / 0.6905 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.1717, allocations: 23.92 kB / 0.6906 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1717, allocations: 0 / 0.6906 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1717, allocations: 0 / 0.6906 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1717, allocations: 7.938 kB / 0.6906 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1717, allocations: 0 / 0.6906 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.172, allocations: 211.4 kB / 0.6908 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.172, allocations: 85 kB / 0.6908 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.172, allocations: 4 kB / 0.6908 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.1722, allocations: 23.92 kB / 0.6909 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.1723, allocations: 4 kB / 0.6909 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.1723, allocations: 3.984 kB / 0.6909 GB, free: 8.844 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.662e-05/0.1723, allocations: 107.2 kB / 0.691 GB, free: 8.738 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1723, allocations: 0 / 0.691 GB, free: 8.738 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.1726, allocations: 31.88 kB / 0.691 GB, free: 8.707 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 (7): * Single equations (assignments): 7 * 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.0005212/0.1731, allocations: 0.7436 MB / 0.6917 GB, free: 7.938 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.1734, allocations: 91.88 kB / 0.6918 GB, free: 7.848 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1734, allocations: 0 / 0.6918 GB, free: 7.848 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.1735, allocations: 39.97 kB / 0.6919 GB, free: 7.809 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.1738, allocations: 30.62 kB / 0.6919 GB, free: 7.781 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.1756, allocations: 1.61 MB / 0.6935 GB, free: 6.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.1758, allocations: 0.6926 MB / 0.6941 GB, free: 5.371 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.1759, allocations: 16.66 kB / 0.6942 GB, free: 5.352 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.176, allocations: 19.44 kB / 0.6942 GB, free: 5.332 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.176, allocations: 0 / 0.6942 GB, free: 5.332 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2465/0.4225, allocations: 2.415 MB / 0.6965 GB, free: 3.117 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.4227, allocations: 232.7 kB / 0.6968 GB, free: 2.859 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.196, allocations: 4 kB / 0.6968 GB, free: 2.855 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)