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.00107/0.00107, 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.001066/0.001066, 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002166/0.002166, allocations: 286.9 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9681/0.9681, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 98.58 kB / 0.5954 GB, free: 27.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.167, allocations: 86.98 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002469/0.1696, allocations: 1.276 MB / 0.6815 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4622/0.6318, allocations: 132 MB / 0.8105 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.6319, allocations: 0 / 0.8105 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.6319, allocations: 0 / 0.8105 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.579e-05/0.632, allocations: 3.938 kB / 0.8105 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.6323, allocations: 61.72 kB / 0.8105 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.221e-05/0.6324, allocations: 20.25 kB / 0.8106 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.6325, allocations: 10.94 kB / 0.8106 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.6325, allocations: 5.125 kB / 0.8106 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.371e-05/0.6326, allocations: 11.42 kB / 0.8106 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.6326, allocations: 1.312 kB / 0.8106 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.427e-05/0.6327, allocations: 14.55 kB / 0.8106 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.6327, allocations: 7.094 kB / 0.8106 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.6327, allocations: 9.219 kB / 0.8106 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.685e-05/0.6328, allocations: 25.33 kB / 0.8106 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6328, allocations: 1.094 kB / 0.8106 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6328, allocations: 1.438 kB / 0.8106 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.6328, allocations: 0 / 0.8106 GB, free: 2.676 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005193/0.6334, allocations: 334.3 kB / 0.811 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.6334, allocations: 9.875 kB / 0.811 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.6335, allocations: 35.78 kB / 0.811 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.6335, allocations: 3.562 kB / 0.811 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.931e-05/0.6336, allocations: 167.9 kB / 0.8112 GB, free: 18.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-05/0.6337, allocations: 34.48 kB / 0.8112 GB, free: 18.04 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-06/0.6337, allocations: 1.578 kB / 0.8112 GB, free: 18.04 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.6338, allocations: 39.83 kB / 0.8112 GB, free: 18.01 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.6338, allocations: 3.938 kB / 0.8112 GB, free: 18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.6338, allocations: 3.188 kB / 0.8112 GB, free: 18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.6339, allocations: 5.75 kB / 0.8112 GB, free: 18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.423e-05/0.6339, allocations: 13.56 kB / 0.8113 GB, free: 18 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.6341, allocations: 157.2 kB / 0.8114 GB, free: 17.81 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.418e-05/0.6342, allocations: 30.27 kB / 0.8114 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.654e-05/0.6342, allocations: 17.72 kB / 0.8115 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.6344, allocations: 93.64 kB / 0.8115 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.6344, allocations: 35.22 kB / 0.8116 GB, free: 17.63 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.6344, allocations: 1.203 kB / 0.8116 GB, free: 17.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002299/0.6347, allocations: 61.92 kB / 0.8116 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.6347, allocations: 51.41 kB / 0.8117 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.246e-05/0.6348, allocations: 96.47 kB / 0.8118 GB, free: 17.44 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.6348, allocations: 25.7 kB / 0.8118 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.573e-05/0.6349, allocations: 87.33 kB / 0.8119 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.6349, allocations: 11.81 kB / 0.8119 GB, free: 17.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.6349, allocations: 16.5 kB / 0.8119 GB, free: 17.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.635, allocations: 315.6 kB / 0.8122 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.588e-05/0.6351, allocations: 3.25 kB / 0.8122 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.84e-05/0.6351, allocations: 7.406 kB / 0.8122 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.108e-05/0.6352, allocations: 28.23 kB / 0.8123 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6352, allocations: 4 kB / 0.8123 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000124/0.6353, allocations: 54.02 kB / 0.8123 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.6354, allocations: 10.19 kB / 0.8123 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.6354, allocations: 0 / 0.8123 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.6354, allocations: 0 / 0.8123 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.503e-05/0.6354, allocations: 7.016 kB / 0.8123 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.6355, allocations: 0 / 0.8123 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.6355, allocations: 1.531 kB / 0.8123 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.6355, allocations: 3.094 kB / 0.8123 GB, free: 16.93 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 6.757e-05/0.6356, allocations: 117.9 kB / 0.8124 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.6356, allocations: 5.5 kB / 0.8124 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.6358, allocations: 57.17 kB / 0.8125 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.6358, allocations: 0 / 0.8125 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6358, allocations: 0.9062 kB / 0.8125 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.6358, allocations: 0 / 0.8125 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.165e-05/0.6359, allocations: 154.5 kB / 0.8126 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6359, allocations: 0 / 0.8126 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.6359, allocations: 11.75 kB / 0.8127 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.6359, allocations: 5.5 kB / 0.8127 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.6359, allocations: 0 / 0.8127 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.636, allocations: 1.203 kB / 0.8127 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.636, allocations: 4.969 kB / 0.8127 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.6361, allocations: 74.7 kB / 0.8127 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.6362, allocations: 89.34 kB / 0.8128 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.6362, allocations: 7.172 kB / 0.8128 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.969e-05/0.6362, allocations: 9.875 kB / 0.8128 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.6362, allocations: 0 / 0.8128 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.6363, allocations: 3.938 kB / 0.8128 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.417e-05/0.6363, allocations: 80.12 kB / 0.8129 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6363, allocations: 0 / 0.8129 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001874/0.6365, allocations: 12.5 kB / 0.8129 GB, free: 16.32 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.0004072/0.6369, allocations: 0.6272 MB / 0.8135 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.6371, allocations: 25.56 kB / 0.8136 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.6371, allocations: 0 / 0.8136 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.572e-05/0.6371, allocations: 9.438 kB / 0.8136 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.6374, allocations: 5.969 kB / 0.8136 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.6378, allocations: 159.9 kB / 0.8137 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.638, allocations: 0.6748 MB / 0.8144 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.195e-05/0.638, allocations: 10.2 kB / 0.8144 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.6381, allocations: 7.438 kB / 0.8144 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/0.6381, allocations: 0 / 0.8144 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01821/0.6563, allocations: 1.369 MB / 0.8158 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.843/7.499, allocations: 8.875 kB / 0.8158 GB, free: 14.52 MB / 0.5762 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)