Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.007785/0.007785, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001606/0.001606, allocations: 195.7 kB / 16.68 MB, free: 6.352 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00242/0.00242, allocations: 294.6 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9499/0.9499, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 91.92 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1742, allocations: 86.97 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002801/0.1771, allocations: 1.639 MB / 0.7675 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6184/0.7954, allocations: 151.6 MB / 0.9155 GB, free: 9.957 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.7956, allocations: 3.938 kB / 0.9155 GB, free: 9.953 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.7959, allocations: 15.86 kB / 0.9155 GB, free: 9.938 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.7962, allocations: 51.66 kB / 0.9156 GB, free: 9.887 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.7967, allocations: 139.4 kB / 0.9157 GB, free: 9.75 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.7969, allocations: 123.6 kB / 0.9158 GB, free: 9.629 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.797, allocations: 33.38 kB / 0.9158 GB, free: 9.598 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.7983, allocations: 169.2 kB / 0.916 GB, free: 9.461 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.7984, allocations: 43.83 kB / 0.916 GB, free: 9.418 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.7984, allocations: 8 kB / 0.9161 GB, free: 9.41 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003804/0.7988, allocations: 183.7 kB / 0.9162 GB, free: 9.23 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.7988, allocations: 19.92 kB / 0.9163 GB, free: 9.211 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/0.7989, allocations: 43.75 kB / 0.9163 GB, free: 9.168 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.7993, allocations: 192.8 kB / 0.9165 GB, free: 8.984 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.7993, allocations: 0 / 0.9165 GB, free: 8.984 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7993, allocations: 4 kB / 0.9165 GB, free: 8.98 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.7993, allocations: 0 / 0.9165 GB, free: 8.98 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006568/0.7999, allocations: 450.6 kB / 0.9169 GB, free: 8.492 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.8, allocations: 8.031 kB / 0.9169 GB, free: 8.484 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.066e-05/0.8, allocations: 42.92 kB / 0.917 GB, free: 8.434 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009077/0.801, allocations: 81.23 kB / 0.917 GB, free: 8.355 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.8012, allocations: 210.8 kB / 0.9172 GB, free: 8.109 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.8012, allocations: 8 kB / 0.9172 GB, free: 8.102 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.8013, allocations: 15.98 kB / 0.9173 GB, free: 8.086 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.8017, allocations: 129.6 kB / 0.9174 GB, free: 7.953 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.8017, allocations: 0 / 0.9174 GB, free: 7.953 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.8018, allocations: 4 kB / 0.9174 GB, free: 7.949 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.8018, allocations: 3.938 kB / 0.9174 GB, free: 7.945 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005679/0.8023, allocations: 139.9 kB / 0.9175 GB, free: 7.809 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008103/0.8032, allocations: 417.1 kB / 0.9179 GB, free: 7.352 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007172/0.8039, allocations: 247.7 kB / 0.9182 GB, free: 7.082 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.8041, allocations: 72.8 kB / 0.9182 GB, free: 7.008 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.8042, allocations: 4 kB / 0.9182 GB, free: 7.004 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.8042, allocations: 34.56 kB / 0.9183 GB, free: 6.961 MB / 0.67 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.8042, allocations: 0 / 0.9183 GB, free: 6.961 MB / 0.67 GB Notification: Performance of matching and sorting (n=8): time 0.0008061/0.805, allocations: 219 kB / 0.9185 GB, free: 6.742 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.8051, allocations: 55.34 kB / 0.9185 GB, free: 6.676 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.8052, allocations: 147.9 kB / 0.9187 GB, free: 6.523 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.8053, allocations: 29.7 kB / 0.9187 GB, free: 6.488 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.8053, allocations: 108.2 kB / 0.9188 GB, free: 6.379 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.8054, allocations: 27.8 kB / 0.9188 GB, free: 6.352 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.8054, allocations: 25.7 kB / 0.9189 GB, free: 6.32 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.8056, allocations: 326.7 kB / 0.9192 GB, free: 5.992 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.8058, allocations: 63.56 kB / 0.9192 GB, free: 5.934 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.806, allocations: 74.52 kB / 0.9193 GB, free: 5.852 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/0.8065, allocations: 116.8 kB / 0.9194 GB, free: 5.734 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.8065, allocations: 0 / 0.9194 GB, free: 5.734 MB / 0.67 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004941/0.807, allocations: 162 kB / 0.9196 GB, free: 5.57 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.807, allocations: 4 kB / 0.9196 GB, free: 5.566 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.807, allocations: 0 / 0.9196 GB, free: 5.566 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.807, allocations: 0 / 0.9196 GB, free: 5.566 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.8073, allocations: 31.91 kB / 0.9196 GB, free: 5.535 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.8073, allocations: 80 / 0.9196 GB, free: 5.535 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.8075, allocations: 19.92 kB / 0.9196 GB, free: 5.516 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.8075, allocations: 15.97 kB / 0.9196 GB, free: 5.5 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 (8): * Single equations (assignments): 8 * 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.0001221/0.8076, allocations: 118.4 kB / 0.9197 GB, free: 5.375 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.985e-05/0.8077, allocations: 11.91 kB / 0.9198 GB, free: 5.363 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.894e-05/0.8078, allocations: 20.7 kB / 0.9198 GB, free: 5.344 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.8078, allocations: 0 / 0.9198 GB, free: 5.344 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.413e-06/0.8078, allocations: 4 kB / 0.9198 GB, free: 5.34 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.8078, allocations: 0 / 0.9198 GB, free: 5.34 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009258/0.8087, allocations: 466.3 kB / 0.9202 GB, free: 4.828 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.8087, allocations: 0 / 0.9202 GB, free: 4.828 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.8089, allocations: 27.97 kB / 0.9202 GB, free: 4.801 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.809, allocations: 8 kB / 0.9203 GB, free: 4.793 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.809, allocations: 0 / 0.9203 GB, free: 4.793 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.809, allocations: 3.938 kB / 0.9203 GB, free: 4.789 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.809, allocations: 0 / 0.9203 GB, free: 4.789 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.8096, allocations: 263.3 kB / 0.9205 GB, free: 4.516 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 7.26e-05/0.8097, allocations: 93 kB / 0.9206 GB, free: 4.406 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.8097, allocations: 0 / 0.9206 GB, free: 4.406 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.8099, allocations: 27.84 kB / 0.9206 GB, free: 4.379 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.8099, allocations: 11.98 kB / 0.9206 GB, free: 4.367 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.81, allocations: 4 kB / 0.9206 GB, free: 4.363 MB / 0.67 GB Notification: Performance of sorting global known variables: time 8.836e-05/0.8101, allocations: 114.4 kB / 0.9207 GB, free: 4.254 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8101, allocations: 4 kB / 0.9208 GB, free: 4.25 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003162/0.8104, allocations: 28 kB / 0.9208 GB, free: 4.223 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 (8): * Single equations (assignments): 8 * 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.0009983/0.8114, allocations: 0.7982 MB / 0.9216 GB, free: 3.398 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005151/0.8119, allocations: 123.8 kB / 0.9217 GB, free: 3.277 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8119, allocations: 0 / 0.9217 GB, free: 3.277 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.8122, allocations: 75.86 kB / 0.9217 GB, free: 3.203 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.8126, allocations: 40.22 kB / 0.9218 GB, free: 3.168 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.8152, allocations: 1.726 MB / 0.9235 GB, free: 1.363 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.8155, allocations: 0.7002 MB / 0.9242 GB, free: 0.6367 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001489/0.8157, allocations: 32.44 kB / 0.9242 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.901e-05/0.8158, allocations: 35.42 kB / 0.9242 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of SimCode: time 1.142e-06/0.8158, allocations: 0 / 0.9242 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.8373, allocations: 3.375 MB / 0.9275 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.533/8.371, allocations: 14.58 kB / 0.9275 GB, free: 13.36 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi_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_MassFraction_pTphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)