Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_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.008511/0.008511, allocations: 106.1 kB / 15.74 MB, free: 6.02 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.002036/0.002035, allocations: 189.7 kB / 16.67 MB, free: 5.934 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002483/0.002483, allocations: 281.6 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.219/1.219, allocations: 178.6 MB / 0.5074 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002629/0.002629, allocations: 95.86 kB / 0.6943 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.498/0.5006, allocations: 89.13 MB / 0.7813 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002299/0.503, allocations: 1.276 MB / 0.7826 GB, free: 136 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1635/0.6665, allocations: 132 MB / 0.9115 GB, free: 2.945 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.958e-05/0.6666, allocations: 0 / 0.9115 GB, free: 2.945 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.6667, allocations: 0 / 0.9115 GB, free: 2.945 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.37e-05/0.6668, allocations: 11.94 kB / 0.9115 GB, free: 2.934 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.6671, allocations: 63.52 kB / 0.9116 GB, free: 2.875 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.1e-05/0.6672, allocations: 19.88 kB / 0.9116 GB, free: 2.855 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.477e-05/0.6673, allocations: 4 kB / 0.9116 GB, free: 2.852 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 5.1e-05/0.6673, allocations: 15.91 kB / 0.9116 GB, free: 2.836 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 5.914e-05/0.6674, allocations: 8 kB / 0.9116 GB, free: 2.828 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.6674, allocations: 0 / 0.9116 GB, free: 2.828 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 7.263e-05/0.6675, allocations: 11.98 kB / 0.9116 GB, free: 2.816 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.6675, allocations: 7.938 kB / 0.9117 GB, free: 2.809 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.6675, allocations: 8 kB / 0.9117 GB, free: 2.801 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.6677, allocations: 31.91 kB / 0.9117 GB, free: 2.77 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6677, allocations: 0 / 0.9117 GB, free: 2.77 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6677, allocations: 0 / 0.9117 GB, free: 2.77 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.6677, allocations: 0 / 0.9117 GB, free: 2.77 MB / 0.67 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.0004516/0.6681, allocations: 341.5 kB / 0.912 GB, free: 2.391 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.6682, allocations: 8.031 kB / 0.912 GB, free: 2.383 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.957e-05/0.6682, allocations: 30.75 kB / 0.9121 GB, free: 2.344 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.6683, allocations: 4.938 kB / 0.9121 GB, free: 2.34 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.6684, allocations: 172.3 kB / 0.9122 GB, free: 2.133 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.387e-05/0.6685, allocations: 34.25 kB / 0.9123 GB, free: 2.094 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.6685, allocations: 384 / 0.9123 GB, free: 2.094 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.6687, allocations: 46 kB / 0.9123 GB, free: 2.043 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.6687, allocations: 0 / 0.9123 GB, free: 2.043 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.6687, allocations: 3.984 kB / 0.9123 GB, free: 2.039 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.6687, allocations: 0 / 0.9123 GB, free: 2.039 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.604e-05/0.6688, allocations: 15.92 kB / 0.9123 GB, free: 2.023 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.669, allocations: 153.7 kB / 0.9125 GB, free: 1.824 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 9.867e-05/0.6691, allocations: 30.61 kB / 0.9125 GB, free: 1.785 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.6691, allocations: 12.95 kB / 0.9125 GB, free: 1.77 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.6693, allocations: 89.09 kB / 0.9126 GB, free: 1.664 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.6694, allocations: 42.48 kB / 0.9126 GB, free: 1.613 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 6.152e-06/0.6694, allocations: 4 kB / 0.9126 GB, free: 1.609 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.0002508/0.6696, allocations: 57.56 kB / 0.9127 GB, free: 1.547 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.6697, allocations: 51.41 kB / 0.9127 GB, free: 1.484 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.768e-05/0.6698, allocations: 105.8 kB / 0.9128 GB, free: 1.371 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.6698, allocations: 25.7 kB / 0.9129 GB, free: 1.34 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.6699, allocations: 80.14 kB / 0.9129 GB, free: 1.258 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.6699, allocations: 15.89 kB / 0.913 GB, free: 1.242 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.6699, allocations: 13.72 kB / 0.913 GB, free: 1.223 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6701, allocations: 318.8 kB / 0.9133 GB, free: 0.9023 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.682e-05/0.6701, allocations: 8 kB / 0.9133 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.732e-05/0.6702, allocations: 4 kB / 0.9133 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.011e-05/0.6703, allocations: 24.84 kB / 0.9133 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6703, allocations: 0 / 0.9133 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001295/0.6704, allocations: 57.56 kB / 0.9134 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.6704, allocations: 7.938 kB / 0.9134 GB, free: 0.793 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6704, allocations: 8 kB / 0.9134 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.6705, allocations: 0 / 0.9134 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.6705, allocations: 4 kB / 0.9134 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.6705, allocations: 0 / 0.9134 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.902e-05/0.6706, allocations: 4 kB / 0.9134 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.6706, allocations: 4 kB / 0.9134 GB, free: 0.7734 MB / 0.67 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 8.541e-05/0.6707, allocations: 109.8 kB / 0.9135 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.6707, allocations: 3.938 kB / 0.9135 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.6709, allocations: 69.62 kB / 0.9136 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.6709, allocations: 0 / 0.9136 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.6709, allocations: 3.984 kB / 0.9136 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.6709, allocations: 0 / 0.9136 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.671, allocations: 149.7 kB / 0.9137 GB, free: 388 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.671, allocations: 0 / 0.9137 GB, free: 388 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.6711, allocations: 12.03 kB / 0.9137 GB, free: 376 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.6711, allocations: 7.922 kB / 0.9137 GB, free: 368 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.6711, allocations: 0 / 0.9137 GB, free: 368 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.6711, allocations: 0 / 0.9137 GB, free: 368 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.6711, allocations: 0 / 0.9137 GB, free: 368 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.6713, allocations: 77.11 kB / 0.9138 GB, free: 272 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 7.573e-05/0.6713, allocations: 89 kB / 0.9139 GB, free: 164 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.6714, allocations: 0 / 0.9139 GB, free: 164 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.09e-05/0.6714, allocations: 7.938 kB / 0.9139 GB, free: 156 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.6714, allocations: 7.922 kB / 0.9139 GB, free: 148 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.6714, allocations: 0 / 0.9139 GB, free: 148 kB / 0.67 GB Notification: Performance of sorting global known variables: time 4.29e-05/0.6715, allocations: 83.28 kB / 0.914 GB, free: 64 kB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6715, allocations: 0 / 0.914 GB, free: 64 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.0001867/0.6717, allocations: 12 kB / 0.914 GB, free: 52 kB / 0.67 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.0005615/0.6723, allocations: 0.6308 MB / 0.9146 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001426/0.6724, allocations: 27.92 kB / 0.9146 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6724, allocations: 0 / 0.9146 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 4.958e-05/0.6725, allocations: 12 kB / 0.9147 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.6727, allocations: 8.734 kB / 0.9147 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.6731, allocations: 145.4 kB / 0.9148 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.6735, allocations: 0.6768 MB / 0.9155 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 3.201e-05/0.6735, allocations: 4 kB / 0.9155 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.6735, allocations: 11.44 kB / 0.9155 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of SimCode: time 2.71e-07/0.6736, allocations: 3.938 kB / 0.9155 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.6958, allocations: 1.385 MB / 0.9168 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.581, allocations: 12.48 kB / 0.9168 GB, free: 13.19 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)