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.004769/0.004769, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001256/0.001256, allocations: 193.7 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002434/0.002434, allocations: 278.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9967/0.9967, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003758/0.003759, allocations: 99.84 kB / 0.681 GB, free: 8 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.173, allocations: 86.98 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002779/0.1759, allocations: 1.479 MB / 0.7674 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5074/0.6833, allocations: 132.1 MB / 0.8963 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.6834, allocations: 3.938 kB / 0.8963 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.6835, allocations: 0 / 0.8963 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.91e-05/0.6835, allocations: 15.86 kB / 0.8964 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.6839, allocations: 72.2 kB / 0.8964 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.684, allocations: 51.84 kB / 0.8965 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.366e-05/0.6841, allocations: 12 kB / 0.8965 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.555e-05/0.6842, allocations: 25.23 kB / 0.8965 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.069e-05/0.6843, allocations: 35.83 kB / 0.8965 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.6843, allocations: 4 kB / 0.8965 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.945e-05/0.6844, allocations: 12 kB / 0.8966 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.6844, allocations: 11.98 kB / 0.8966 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.6845, allocations: 23.86 kB / 0.8966 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.6846, allocations: 55.33 kB / 0.8966 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6846, allocations: 3.938 kB / 0.8966 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6846, allocations: 0 / 0.8966 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.6846, allocations: 0 / 0.8966 GB, free: 13.37 MB / 0.6544 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.0005877/0.6852, allocations: 381.4 kB / 0.897 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.6853, allocations: 8.031 kB / 0.897 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.293e-05/0.6853, allocations: 38.75 kB / 0.8971 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.6854, allocations: 4.891 kB / 0.8971 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.6855, allocations: 177.5 kB / 0.8972 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.6855, allocations: 384 / 0.8972 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.6855, allocations: 4.375 kB / 0.8972 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.6858, allocations: 78.16 kB / 0.8973 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.6858, allocations: 4.688 kB / 0.8973 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.6859, allocations: 4 kB / 0.8973 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.6859, allocations: 0 / 0.8973 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.6862, allocations: 69.56 kB / 0.8974 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.6866, allocations: 280.8 kB / 0.8976 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.6868, allocations: 66.41 kB / 0.8977 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.6869, allocations: 40.92 kB / 0.8978 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/0.6871, allocations: 93.09 kB / 0.8978 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.6872, allocations: 30.56 kB / 0.8979 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.6872, allocations: 0 / 0.8979 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005449/0.6877, allocations: 129.6 kB / 0.898 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.6878, allocations: 59.41 kB / 0.898 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.6879, allocations: 109.8 kB / 0.8982 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.6879, allocations: 33.64 kB / 0.8982 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.688, allocations: 92.12 kB / 0.8983 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.688, allocations: 11.84 kB / 0.8983 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.6881, allocations: 13.72 kB / 0.8983 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.6882, allocations: 322.8 kB / 0.8986 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.6884, allocations: 36.66 kB / 0.8986 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.6885, allocations: 31.95 kB / 0.8987 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.6888, allocations: 65.08 kB / 0.8987 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6888, allocations: 3.938 kB / 0.8987 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003291/0.6891, allocations: 105.6 kB / 0.8988 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.6892, allocations: 4 kB / 0.8988 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.6892, allocations: 4 kB / 0.8988 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.6892, allocations: 1.562 kB / 0.8988 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.6893, allocations: 15.92 kB / 0.8989 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.6893, allocations: 0 / 0.8989 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.325e-05/0.6894, allocations: 19.94 kB / 0.8989 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.6894, allocations: 0 / 0.8989 GB, free: 10.83 MB / 0.6544 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 9.204e-05/0.6895, allocations: 122.4 kB / 0.899 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.6896, allocations: 4 kB / 0.899 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.6899, allocations: 105.5 kB / 0.8991 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.6899, allocations: 0 / 0.8991 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.6899, allocations: 4 kB / 0.8991 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.69, allocations: 0 / 0.8991 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.6902, allocations: 177.6 kB / 0.8993 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6902, allocations: 0 / 0.8993 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.546e-05/0.6903, allocations: 21.36 kB / 0.8993 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6903, allocations: 0 / 0.8993 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.6903, allocations: 0 / 0.8993 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6903, allocations: 0 / 0.8993 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6903, allocations: 0 / 0.8993 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.6907, allocations: 207.4 kB / 0.8995 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.6907, allocations: 81.06 kB / 0.8996 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.6908, allocations: 0 / 0.8996 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.6909, allocations: 11.98 kB / 0.8996 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.6909, allocations: 15.92 kB / 0.8996 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.6909, allocations: 4 kB / 0.8996 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.06e-05/0.691, allocations: 92.47 kB / 0.8997 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.691, allocations: 0 / 0.8997 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000235/0.6913, allocations: 15.94 kB / 0.8997 GB, free: 9.887 MB / 0.6544 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.0007557/0.692, allocations: 0.7397 MB / 0.9004 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003322/0.6924, allocations: 67.86 kB / 0.9005 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6924, allocations: 0 / 0.9005 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.6926, allocations: 47.89 kB / 0.9005 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.6929, allocations: 11.62 kB / 0.9005 GB, free: 9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.6948, allocations: 1.425 MB / 0.9019 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.6952, allocations: 0.6807 MB / 0.9026 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.813e-05/0.6952, allocations: 13.14 kB / 0.9026 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.6953, allocations: 15.44 kB / 0.9026 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.6953, allocations: 0 / 0.9026 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.7203, allocations: 2.087 MB / 0.9047 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/8.806, allocations: 14.19 kB / 0.9047 GB, free: 4.801 MB / 0.6544 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)