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: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008426/0.0008427, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.0009146/0.0009146, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001667/0.001667, allocations: 270.8 kB / 291.3 MB, free: 1.902 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7848/0.7848, allocations: 144.6 MB / 487 MB, free: 7.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.0004252, allocations: 18.75 kB / 0.5683 GB, free: 38.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1337, allocations: 83.08 MB / 0.6494 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001169/0.1349, allocations: 0.9852 MB / 0.6504 GB, free: 2.559 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1077/0.2426, allocations: 111.9 MB / 0.7597 GB, free: 2.383 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.2427, allocations: 0 / 0.7597 GB, free: 2.383 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.208e-05/0.2427, allocations: 4 kB / 0.7597 GB, free: 2.379 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.756e-05/0.2428, allocations: 7.969 kB / 0.7597 GB, free: 2.371 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.243, allocations: 47.84 kB / 0.7598 GB, free: 2.324 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.269e-05/0.2431, allocations: 11.98 kB / 0.7598 GB, free: 2.312 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.2431, allocations: 0 / 0.7598 GB, free: 2.312 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.885e-05/0.2432, allocations: 15.94 kB / 0.7598 GB, free: 2.297 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.2432, allocations: 7.984 kB / 0.7598 GB, free: 2.289 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.2433, allocations: 0 / 0.7598 GB, free: 2.289 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.436e-05/0.2433, allocations: 19.97 kB / 0.7598 GB, free: 2.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.739e-06/0.2433, allocations: 0 / 0.7598 GB, free: 2.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.2434, allocations: 37.64 kB / 0.7599 GB, free: 2.227 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.581e-05/0.2434, allocations: 19.86 kB / 0.7599 GB, free: 2.211 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.2435, allocations: 0 / 0.7599 GB, free: 2.211 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2435, allocations: 0 / 0.7599 GB, free: 2.211 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.2435, allocations: 4 kB / 0.7599 GB, free: 2.207 MB / 0.545 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.0003192/0.2438, allocations: 323.6 kB / 0.7602 GB, free: 1.844 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.2438, allocations: 11.86 kB / 0.7602 GB, free: 1.836 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.2439, allocations: 11.89 kB / 0.7602 GB, free: 1.824 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.244, allocations: 163 kB / 0.7604 GB, free: 1.625 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/0.2441, allocations: 33.7 kB / 0.7604 GB, free: 1.586 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.2441, allocations: 4 kB / 0.7604 GB, free: 1.582 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.2442, allocations: 33.69 kB / 0.7604 GB, free: 1.543 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2442, allocations: 0 / 0.7604 GB, free: 1.543 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.2442, allocations: 4 kB / 0.7604 GB, free: 1.539 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2443, allocations: 0 / 0.7604 GB, free: 1.539 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.2443, allocations: 19.92 kB / 0.7605 GB, free: 1.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.2445, allocations: 153.6 kB / 0.7606 GB, free: 1.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.321e-05/0.2446, allocations: 38.61 kB / 0.7606 GB, free: 1.273 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.2447, allocations: 89.19 kB / 0.7607 GB, free: 1.168 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.2448, allocations: 30.56 kB / 0.7608 GB, free: 1.129 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2448, allocations: 0 / 0.7608 GB, free: 1.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002034/0.245, allocations: 61.61 kB / 0.7608 GB, free: 1.062 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.245, allocations: 55.41 kB / 0.7609 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.722e-05/0.2451, allocations: 97.86 kB / 0.761 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.2451, allocations: 29.64 kB / 0.761 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.876e-05/0.2451, allocations: 80.14 kB / 0.7611 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.2451, allocations: 11.75 kB / 0.7611 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.2451, allocations: 0 / 0.7611 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.2452, allocations: 318.8 kB / 0.7614 GB, free: 452 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.819e-05/0.2453, allocations: 8 kB / 0.7614 GB, free: 444 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.345e-05/0.2453, allocations: 11.98 kB / 0.7614 GB, free: 432 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/0.2454, allocations: 8 kB / 0.7614 GB, free: 424 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2454, allocations: 0 / 0.7614 GB, free: 424 kB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001105/0.2455, allocations: 49.64 kB / 0.7614 GB, free: 368 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.2455, allocations: 13.03 kB / 0.7615 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2455, allocations: 0.5156 kB / 0.7615 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.2455, allocations: 0 / 0.7615 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.017e-05/0.2456, allocations: 7.984 kB / 0.7615 GB, free: 348 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.2456, allocations: 0 / 0.7615 GB, free: 348 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.971e-05/0.2456, allocations: 8 kB / 0.7615 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.2457, allocations: 0 / 0.7615 GB, free: 340 kB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.836e-05/0.2457, allocations: 109.8 kB / 0.7616 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.2457, allocations: 7.953 kB / 0.7616 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.2459, allocations: 61.16 kB / 0.7616 GB, free: 144 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2459, allocations: 0 / 0.7616 GB, free: 144 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2459, allocations: 0 / 0.7616 GB, free: 144 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2459, allocations: 4 kB / 0.7617 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.527e-05/0.246, allocations: 157.7 kB / 0.7618 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.246, allocations: 3.938 kB / 0.7618 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.2461, allocations: 11.98 kB / 0.7618 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2461, allocations: 3.953 kB / 0.7618 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.2461, allocations: 0 / 0.7618 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2461, allocations: 0 / 0.7618 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2461, allocations: 0 / 0.7618 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.2462, allocations: 73.12 kB / 0.7619 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.2463, allocations: 85 kB / 0.762 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.2463, allocations: 3.953 kB / 0.762 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.872e-05/0.2463, allocations: 8 kB / 0.762 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.2464, allocations: 0 / 0.762 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.2464, allocations: 0 / 0.762 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.021e-05/0.2464, allocations: 83.27 kB / 0.7621 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2464, allocations: 0 / 0.7621 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001759/0.2466, allocations: 8 kB / 0.7621 GB, free: 15.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001297/0.2467, allocations: 119.2 kB / 0.7622 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.2469, allocations: 19.98 kB / 0.7622 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2469, allocations: 0 / 0.7622 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.111e-05/0.2469, allocations: 11.94 kB / 0.7622 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.2471, allocations: 11.98 kB / 0.7622 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.2473, allocations: 152.3 kB / 0.7624 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.2475, allocations: 0.677 MB / 0.763 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.67e-05/0.2476, allocations: 4 kB / 0.763 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.441e-05/0.2476, allocations: 7.438 kB / 0.763 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.2476, allocations: 4 kB / 0.763 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of Templates: time 0.002219/0.2498, allocations: 472.7 kB / 0.7635 GB, free: 14.1 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile Environment - environmentSimulation: (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: