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.007924/0.007924, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001862/0.001863, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 286.1 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9224/0.9224, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 100.2 kB / 0.681 GB, free: 7.512 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4321, allocations: 86.98 MB / 0.7659 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002706/0.4348, allocations: 1.488 MB / 0.7673 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1369/0.5717, allocations: 132.1 MB / 0.8963 GB, free: 13.8 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.5719, allocations: 0 / 0.8963 GB, free: 13.8 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 4.289e-05/0.5719, allocations: 3.938 kB / 0.8963 GB, free: 13.8 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 7.742e-05/0.572, allocations: 19.86 kB / 0.8963 GB, free: 13.78 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.5725, allocations: 75.5 kB / 0.8964 GB, free: 13.71 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.5726, allocations: 43.86 kB / 0.8965 GB, free: 13.66 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.5727, allocations: 15.98 kB / 0.8965 GB, free: 13.65 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 6.601e-05/0.5728, allocations: 19.92 kB / 0.8965 GB, free: 13.63 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.713e-05/0.5729, allocations: 31.8 kB / 0.8965 GB, free: 13.6 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.5729, allocations: 8 kB / 0.8965 GB, free: 13.59 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 9.602e-05/0.573, allocations: 15.98 kB / 0.8965 GB, free: 13.57 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.5731, allocations: 11.98 kB / 0.8966 GB, free: 13.56 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 4.977e-05/0.5731, allocations: 23.86 kB / 0.8966 GB, free: 13.54 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.5733, allocations: 61.06 kB / 0.8966 GB, free: 13.48 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.5733, allocations: 0 / 0.8966 GB, free: 13.48 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.747e-06/0.5733, allocations: 0 / 0.8966 GB, free: 13.48 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5734, allocations: 3.938 kB / 0.8966 GB, free: 13.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006555/0.574, allocations: 379.2 kB / 0.897 GB, free: 13.06 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.5741, allocations: 8.031 kB / 0.897 GB, free: 13.05 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.971e-05/0.5741, allocations: 34.75 kB / 0.897 GB, free: 13.01 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.5742, allocations: 8.891 kB / 0.8971 GB, free: 13 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.5743, allocations: 176.2 kB / 0.8972 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.5744, allocations: 384 / 0.8972 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.5744, allocations: 8.375 kB / 0.8972 GB, free: 12.78 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.5747, allocations: 78.19 kB / 0.8973 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.5748, allocations: 7.938 kB / 0.8973 GB, free: 12.69 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.5748, allocations: 0 / 0.8973 GB, free: 12.69 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.5748, allocations: 0 / 0.8973 GB, free: 12.69 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.5752, allocations: 67.92 kB / 0.8974 GB, free: 12.62 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.5757, allocations: 288.7 kB / 0.8977 GB, free: 12.29 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.576, allocations: 58.47 kB / 0.8977 GB, free: 12.23 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.5762, allocations: 40.92 kB / 0.8977 GB, free: 12.18 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/0.5764, allocations: 89.09 kB / 0.8978 GB, free: 12.08 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.5765, allocations: 34.56 kB / 0.8979 GB, free: 12.04 MB / 0.67 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.5765, allocations: 0 / 0.8979 GB, free: 12.04 MB / 0.67 GB Notification: Performance of matching and sorting (n=3): time 0.000794/0.5773, allocations: 133.5 kB / 0.898 GB, free: 11.9 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.5773, allocations: 51.41 kB / 0.898 GB, free: 11.84 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.5775, allocations: 113.8 kB / 0.8982 GB, free: 11.71 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.5775, allocations: 29.7 kB / 0.8982 GB, free: 11.68 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.5776, allocations: 92.08 kB / 0.8983 GB, free: 11.59 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.5776, allocations: 11.89 kB / 0.8983 GB, free: 11.57 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.5777, allocations: 17.72 kB / 0.8983 GB, free: 11.55 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5778, allocations: 314.8 kB / 0.8986 GB, free: 11.23 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.578, allocations: 35.95 kB / 0.8986 GB, free: 11.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.5782, allocations: 32.16 kB / 0.8987 GB, free: 11.17 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.5787, allocations: 72.86 kB / 0.8987 GB, free: 11.09 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5787, allocations: 0 / 0.8987 GB, free: 11.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004769/0.5792, allocations: 101.6 kB / 0.8988 GB, free: 10.99 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.5792, allocations: 14.12 kB / 0.8988 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.5792, allocations: 0 / 0.8988 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.5792, allocations: 0 / 0.8988 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.5794, allocations: 19.97 kB / 0.8989 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.5794, allocations: 0 / 0.8989 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.5795, allocations: 15.94 kB / 0.8989 GB, free: 10.94 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.5796, allocations: 4 kB / 0.8989 GB, free: 10.94 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 0.0001189/0.5797, allocations: 116.2 kB / 0.899 GB, free: 10.82 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.5797, allocations: 4 kB / 0.899 GB, free: 10.81 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005111/0.5803, allocations: 109.5 kB / 0.8991 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.5803, allocations: 0 / 0.8991 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5803, allocations: 0 / 0.8991 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-05/0.5803, allocations: 3.984 kB / 0.8991 GB, free: 10.69 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.5806, allocations: 173.6 kB / 0.8993 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5806, allocations: 0 / 0.8993 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.5808, allocations: 19.97 kB / 0.8993 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.5808, allocations: 0 / 0.8993 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.5808, allocations: 4 kB / 0.8993 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.5808, allocations: 0 / 0.8993 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5808, allocations: 4 kB / 0.8993 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005176/0.5814, allocations: 203.3 kB / 0.8995 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.5814, allocations: 81.06 kB / 0.8996 GB, free: 10.13 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.5815, allocations: 7.984 kB / 0.8996 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.5817, allocations: 11.98 kB / 0.8996 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.5817, allocations: 7.938 kB / 0.8996 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.5817, allocations: 0 / 0.8996 GB, free: 10.11 MB / 0.67 GB Notification: Performance of sorting global known variables: time 7.807e-05/0.5818, allocations: 95.27 kB / 0.8997 GB, free: 10.01 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5818, allocations: 0 / 0.8997 GB, free: 10.01 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004407/0.5823, allocations: 15.94 kB / 0.8997 GB, free: 9.996 MB / 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.0009122/0.5832, allocations: 0.7397 MB / 0.9004 GB, free: 9.23 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004796/0.5837, allocations: 71.86 kB / 0.9005 GB, free: 9.16 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5837, allocations: 0 / 0.9005 GB, free: 9.16 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.5839, allocations: 39.91 kB / 0.9005 GB, free: 9.121 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005111/0.5844, allocations: 16.3 kB / 0.9005 GB, free: 9.105 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.587, allocations: 1.434 MB / 0.9019 GB, free: 7.594 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.5874, allocations: 0.6846 MB / 0.9026 GB, free: 6.883 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 4.94e-05/0.5875, allocations: 4 kB / 0.9026 GB, free: 6.879 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.5875, allocations: 11.44 kB / 0.9026 GB, free: 6.867 MB / 0.67 GB Notification: Performance of SimCode: time 3.31e-07/0.5875, allocations: 4 kB / 0.9026 GB, free: 6.863 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.6101, allocations: 2.074 MB / 0.9047 GB, free: 4.914 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/8.305, allocations: 0.625 kB / 0.9047 GB, free: 4.914 MB / 0.67 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)