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.001592/0.001592, 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.001264/0.001264, allocations: 198.2 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.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002403/0.002403, allocations: 283 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.057/1.057, allocations: 178.6 MB / 0.5073 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002662/0.002662, allocations: 97.08 kB / 0.6065 GB, free: 24.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1546, allocations: 89.15 MB / 0.6936 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002817/0.1575, allocations: 1.5 MB / 0.6951 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.424/0.5814, allocations: 132.1 MB / 0.824 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.5815, allocations: 2.875 kB / 0.824 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.433e-05/0.5816, allocations: 6.562 kB / 0.824 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.684e-05/0.5817, allocations: 9.438 kB / 0.824 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.5821, allocations: 80.06 kB / 0.8241 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.498e-05/0.5822, allocations: 50.41 kB / 0.8242 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.5824, allocations: 13.3 kB / 0.8242 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.174e-05/0.5824, allocations: 24.16 kB / 0.8242 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.5825, allocations: 18.84 kB / 0.8242 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.5825, allocations: 4.312 kB / 0.8242 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.266e-05/0.5826, allocations: 25.5 kB / 0.8242 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.5826, allocations: 11.22 kB / 0.8243 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.5827, allocations: 24.62 kB / 0.8243 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.5828, allocations: 59.05 kB / 0.8243 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5829, allocations: 3.938 kB / 0.8243 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5829, allocations: 0 / 0.8243 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.5829, allocations: 1.125 kB / 0.8243 GB, free: 8.332 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006275/0.5835, allocations: 376.4 kB / 0.8247 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.5836, allocations: 12.53 kB / 0.8247 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.375e-05/0.5836, allocations: 32.69 kB / 0.8247 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.5836, allocations: 3.281 kB / 0.8247 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.5838, allocations: 169.7 kB / 0.8249 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.5838, allocations: 5.594 kB / 0.8249 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.5838, allocations: 2.812 kB / 0.8249 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.5841, allocations: 75.73 kB / 0.825 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.5841, allocations: 6.328 kB / 0.825 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.5841, allocations: 4 kB / 0.825 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.5841, allocations: 1.125 kB / 0.825 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.5844, allocations: 67.94 kB / 0.8251 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.5849, allocations: 287.5 kB / 0.8253 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.5851, allocations: 64.64 kB / 0.8254 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.5852, allocations: 40.84 kB / 0.8254 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.5854, allocations: 88.17 kB / 0.8255 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.5855, allocations: 36.34 kB / 0.8256 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.5855, allocations: 0 / 0.8256 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005673/0.586, allocations: 124.9 kB / 0.8257 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.5861, allocations: 55.75 kB / 0.8257 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.5862, allocations: 123.2 kB / 0.8258 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.5862, allocations: 26.27 kB / 0.8259 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.5863, allocations: 92.95 kB / 0.826 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.5863, allocations: 9.625 kB / 0.826 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.5864, allocations: 12.53 kB / 0.826 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5865, allocations: 322.2 kB / 0.8263 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.5867, allocations: 31.61 kB / 0.8263 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.5868, allocations: 40.2 kB / 0.8264 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.5871, allocations: 66.31 kB / 0.8264 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5871, allocations: 0 / 0.8264 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003269/0.5875, allocations: 98.56 kB / 0.8265 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.5875, allocations: 5.25 kB / 0.8265 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5875, allocations: 0 / 0.8265 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.5875, allocations: 1.062 kB / 0.8265 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.5876, allocations: 20.47 kB / 0.8265 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5876, allocations: 5.062 kB / 0.8265 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.635e-05/0.5877, allocations: 19.2 kB / 0.8266 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.5878, allocations: 1.125 kB / 0.8266 GB, free: 6.391 MB / 0.5606 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.032e-05/0.5878, allocations: 120.1 kB / 0.8267 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.5879, allocations: 2.188 kB / 0.8267 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.5883, allocations: 107.3 kB / 0.8268 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.5883, allocations: 0 / 0.8268 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5883, allocations: 0 / 0.8268 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5883, allocations: 7.031 kB / 0.8268 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.5885, allocations: 172.9 kB / 0.827 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5885, allocations: 0 / 0.827 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.5886, allocations: 21.19 kB / 0.827 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.5886, allocations: 3.938 kB / 0.827 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.5886, allocations: 1.125 kB / 0.827 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.5886, allocations: 0 / 0.827 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5886, allocations: 2.156 kB / 0.827 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003808/0.589, allocations: 199.7 kB / 0.8272 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.5891, allocations: 82.3 kB / 0.8273 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.5891, allocations: 1.125 kB / 0.8273 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.5892, allocations: 11.53 kB / 0.8273 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.5893, allocations: 3.578 kB / 0.8273 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.5893, allocations: 1.094 kB / 0.8273 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.934e-05/0.5894, allocations: 97.19 kB / 0.8274 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5894, allocations: 0 / 0.8274 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000262/0.5896, allocations: 20.59 kB / 0.8274 GB, free: 5.668 MB / 0.5606 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.0007465/0.5904, allocations: 0.7437 MB / 0.8281 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.5907, allocations: 66.06 kB / 0.8282 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5908, allocations: 0 / 0.8282 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.5909, allocations: 39.78 kB / 0.8282 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.5912, allocations: 20.14 kB / 0.8282 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.5932, allocations: 1.42 MB / 0.8296 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.5935, allocations: 0.6845 MB / 0.8303 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.519e-05/0.5936, allocations: 2.25 kB / 0.8303 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.227e-05/0.5936, allocations: 28.34 kB / 0.8303 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of SimCode: time 4.7e-07/0.5936, allocations: 1.156 kB / 0.8303 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.6173, allocations: 2.049 MB / 0.8323 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/8.102, allocations: 9.688 kB / 0.8323 GB, free: 1.977 MB / 0.5606 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)