Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.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.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",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.001183/0.001183, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002316/0.002316, allocations: 279 kB / 290.7 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.992/0.992, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002186, allocations: 97.41 kB / 0.5953 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1812, allocations: 86.98 MB / 0.6803 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003423/0.1847, allocations: 1.497 MB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5455/0.7302, allocations: 132.1 MB / 0.8107 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.372e-05/0.7303, allocations: 0 / 0.8107 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.28e-05/0.7304, allocations: 5.906 kB / 0.8107 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.646e-05/0.7305, allocations: 11.16 kB / 0.8107 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.7309, allocations: 65.34 kB / 0.8108 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.992e-05/0.7311, allocations: 59.66 kB / 0.8108 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.7312, allocations: 17.34 kB / 0.8109 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.108e-05/0.7312, allocations: 15.81 kB / 0.8109 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.7313, allocations: 30.61 kB / 0.8109 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.7313, allocations: 4.562 kB / 0.8109 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.26e-05/0.7314, allocations: 19.98 kB / 0.8109 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.7314, allocations: 12.53 kB / 0.8109 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.562e-05/0.7315, allocations: 22.7 kB / 0.811 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.7317, allocations: 61.69 kB / 0.811 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.7317, allocations: 2.844 kB / 0.811 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7317, allocations: 0 / 0.811 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.7317, allocations: 0 / 0.811 GB, free: 2.637 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007716/0.7325, allocations: 368 kB / 0.8114 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.7325, allocations: 10.58 kB / 0.8114 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.7326, allocations: 36.66 kB / 0.8114 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.7326, allocations: 6.031 kB / 0.8114 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.7327, allocations: 185.2 kB / 0.8116 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.7328, allocations: 1.578 kB / 0.8116 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.7328, allocations: 6.469 kB / 0.8116 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.733, allocations: 75.12 kB / 0.8117 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.733, allocations: 3.938 kB / 0.8117 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.7331, allocations: 0 / 0.8117 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.7331, allocations: 1.781 kB / 0.8117 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.7334, allocations: 71.56 kB / 0.8118 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.7337, allocations: 280.4 kB / 0.812 GB, free: 17.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.7339, allocations: 57.88 kB / 0.8121 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.7341, allocations: 43.42 kB / 0.8121 GB, free: 17.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/0.7343, allocations: 88.61 kB / 0.8122 GB, free: 17.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.7343, allocations: 37.61 kB / 0.8122 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.7343, allocations: 0 / 0.8122 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005325/0.7348, allocations: 133.3 kB / 0.8124 GB, free: 17.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.7349, allocations: 51.41 kB / 0.8124 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.085e-05/0.735, allocations: 119.5 kB / 0.8125 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.735, allocations: 28.28 kB / 0.8126 GB, free: 17.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.7351, allocations: 85.11 kB / 0.8126 GB, free: 17.22 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.7351, allocations: 9.672 kB / 0.8126 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.7351, allocations: 23.59 kB / 0.8127 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.7352, allocations: 320.5 kB / 0.813 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.7354, allocations: 30.7 kB / 0.813 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.7355, allocations: 29.91 kB / 0.813 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.7358, allocations: 71.59 kB / 0.8131 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7358, allocations: 0 / 0.8131 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003121/0.7361, allocations: 100.4 kB / 0.8132 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.7361, allocations: 6.531 kB / 0.8132 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.7361, allocations: 0 / 0.8132 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.7362, allocations: 4 kB / 0.8132 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.7363, allocations: 18.02 kB / 0.8132 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.7363, allocations: 0.8125 kB / 0.8132 GB, free: 16.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.7364, allocations: 15.47 kB / 0.8132 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.7364, allocations: 3.625 kB / 0.8132 GB, free: 16.82 MB / 0.5762 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 (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 prepare postOptimizeDAE: time 7.854e-05/0.7365, allocations: 114.5 kB / 0.8134 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.7365, allocations: 5.578 kB / 0.8134 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.7369, allocations: 118.2 kB / 0.8135 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.7369, allocations: 0 / 0.8135 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.7369, allocations: 4.562 kB / 0.8135 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.7369, allocations: 0 / 0.8135 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.7371, allocations: 176.7 kB / 0.8136 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7371, allocations: 1.094 kB / 0.8136 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.491e-05/0.7372, allocations: 22.55 kB / 0.8137 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.7372, allocations: 1.969 kB / 0.8137 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.7372, allocations: 0 / 0.8137 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7372, allocations: 0 / 0.8137 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.7372, allocations: 0 / 0.8137 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.7376, allocations: 202 kB / 0.8139 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.7376, allocations: 78.58 kB / 0.8139 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.7376, allocations: 1.469 kB / 0.8139 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.7378, allocations: 11.19 kB / 0.8139 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.7378, allocations: 10.64 kB / 0.814 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.7378, allocations: 0 / 0.814 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.017e-05/0.7379, allocations: 95.86 kB / 0.814 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7379, allocations: 0 / 0.814 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002316/0.7381, allocations: 12.38 kB / 0.8141 GB, free: 16.14 MB / 0.5762 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.0006646/0.7388, allocations: 0.7449 MB / 0.8148 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000348/0.7391, allocations: 74.7 kB / 0.8149 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7392, allocations: 3.625 kB / 0.8149 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.7393, allocations: 35.22 kB / 0.8149 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.7397, allocations: 15.58 kB / 0.8149 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.7414, allocations: 1.417 MB / 0.8163 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.7417, allocations: 0.6892 MB / 0.817 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.539e-05/0.7417, allocations: 2.5 kB / 0.817 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.962e-05/0.7418, allocations: 16.16 kB / 0.817 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.7418, allocations: 2.875 kB / 0.817 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.7606, allocations: 2.046 MB / 0.819 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/8.437, allocations: 13 kB / 0.819 GB, free: 13.2 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)