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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_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.0009554/0.0009552, allocations: 94.3 kB / 15.05 MB, free: 1.113 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.000976/0.000976, allocations: 181.3 kB / 15.95 MB, free: 220 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.436/1.436, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001735/0.001735, allocations: 271.2 kB / 291.2 MB, free: 1.871 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.8769/0.8769, allocations: 144.6 MB / 487 MB, free: 7.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003856, allocations: 12.91 kB / 0.5684 GB, free: 38.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1264, allocations: 83.09 MB / 0.6495 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001262/0.1277, allocations: 0.9834 MB / 0.6505 GB, free: 2.523 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.114/0.2417, allocations: 111.9 MB / 0.7598 GB, free: 2.336 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.2417, allocations: 0 / 0.7598 GB, free: 2.336 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.2418, allocations: 0 / 0.7598 GB, free: 2.336 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.372e-05/0.2418, allocations: 3.984 kB / 0.7598 GB, free: 2.332 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.2421, allocations: 51.84 kB / 0.7599 GB, free: 2.281 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.029e-05/0.2421, allocations: 11.98 kB / 0.7599 GB, free: 2.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.2422, allocations: 7.984 kB / 0.7599 GB, free: 2.262 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.339e-05/0.2422, allocations: 7.938 kB / 0.7599 GB, free: 2.254 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.2423, allocations: 11.98 kB / 0.7599 GB, free: 2.242 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.2423, allocations: 0 / 0.7599 GB, free: 2.242 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.665e-05/0.2423, allocations: 15.98 kB / 0.7599 GB, free: 2.227 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.477e-06/0.2423, allocations: 0 / 0.7599 GB, free: 2.227 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.2424, allocations: 29.7 kB / 0.76 GB, free: 2.191 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.856e-05/0.2424, allocations: 11.98 kB / 0.76 GB, free: 2.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2425, allocations: 4 kB / 0.76 GB, free: 2.176 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2425, allocations: 11.77 kB / 0.76 GB, free: 2.168 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.2425, allocations: 0 / 0.76 GB, free: 2.168 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.0003293/0.2428, allocations: 331.5 kB / 0.7603 GB, free: 1.797 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.2428, allocations: 8.031 kB / 0.7603 GB, free: 1.789 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.15e-05/0.2429, allocations: 34.56 kB / 0.7603 GB, free: 1.746 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.076e-05/0.2429, allocations: 0 / 0.7603 GB, free: 1.746 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.243, allocations: 167 kB / 0.7605 GB, free: 1.543 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-05/0.2431, allocations: 29.7 kB / 0.7605 GB, free: 1.508 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-06/0.2431, allocations: 4 kB / 0.7605 GB, free: 1.504 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.2432, allocations: 41.69 kB / 0.7606 GB, free: 1.457 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.2433, allocations: 0 / 0.7606 GB, free: 1.457 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.2433, allocations: 0 / 0.7606 GB, free: 1.457 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.2433, allocations: 0 / 0.7606 GB, free: 1.457 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.788e-05/0.2434, allocations: 15.92 kB / 0.7606 GB, free: 1.441 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.2435, allocations: 161.7 kB / 0.7607 GB, free: 1.234 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.808e-05/0.2436, allocations: 26.58 kB / 0.7608 GB, free: 1.199 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.2437, allocations: 93.19 kB / 0.7609 GB, free: 1.09 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.2438, allocations: 30.56 kB / 0.7609 GB, free: 1.051 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.2438, allocations: 0 / 0.7609 GB, free: 1.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002001/0.244, allocations: 65.59 kB / 0.7609 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.244, allocations: 51.41 kB / 0.761 GB, free: 0.918 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.755e-05/0.2441, allocations: 105.8 kB / 0.7611 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.2441, allocations: 25.7 kB / 0.7611 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.943e-05/0.2441, allocations: 80.14 kB / 0.7612 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.2441, allocations: 11.75 kB / 0.7612 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.2442, allocations: 7.938 kB / 0.7612 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.64e-05/0.2442, allocations: 310.8 kB / 0.7615 GB, free: 368 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.137e-05/0.2443, allocations: 11.98 kB / 0.7615 GB, free: 356 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.139e-05/0.2443, allocations: 4 kB / 0.7615 GB, free: 352 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.98e-05/0.2444, allocations: 11.98 kB / 0.7615 GB, free: 340 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2444, allocations: 3.953 kB / 0.7615 GB, free: 336 kB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001141/0.2445, allocations: 53.62 kB / 0.7616 GB, free: 276 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.2445, allocations: 4 kB / 0.7616 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2445, allocations: 0 / 0.7616 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.2445, allocations: 3.938 kB / 0.7616 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.734e-05/0.2446, allocations: 4 kB / 0.7616 GB, free: 264 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2446, allocations: 4 kB / 0.7616 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.2447, allocations: 11.98 kB / 0.7616 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.2447, allocations: 0 / 0.7616 GB, free: 248 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.604e-05/0.2447, allocations: 109.8 kB / 0.7617 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.2447, allocations: 3.953 kB / 0.7617 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.2449, allocations: 57.17 kB / 0.7618 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-06/0.2449, allocations: 0 / 0.7618 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.2449, allocations: 4 kB / 0.7618 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2449, allocations: 0 / 0.7618 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.761e-05/0.245, allocations: 157.6 kB / 0.7619 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.245, allocations: 8 kB / 0.7619 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.2451, allocations: 7.953 kB / 0.7619 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2451, allocations: 0 / 0.7619 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.2451, allocations: 4 kB / 0.762 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2451, allocations: 0 / 0.762 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2451, allocations: 0 / 0.762 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.2452, allocations: 77.02 kB / 0.762 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.2453, allocations: 85.11 kB / 0.7621 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.2453, allocations: 3.953 kB / 0.7621 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.651e-05/0.2453, allocations: 0 / 0.7621 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.2454, allocations: 12.59 kB / 0.7621 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-06/0.2454, allocations: 0 / 0.7621 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.571e-05/0.2454, allocations: 75.28 kB / 0.7622 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2454, allocations: 0 / 0.7622 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001736/0.2456, allocations: 12 kB / 0.7622 GB, free: 15.54 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.0004657/0.2461, allocations: 0.6282 MB / 0.7628 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.2462, allocations: 19.98 kB / 0.7628 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.2462, allocations: 4 kB / 0.7628 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.2463, allocations: 7.938 kB / 0.7628 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.2464, allocations: 21.75 kB / 0.7629 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/0.2467, allocations: 174.1 kB / 0.763 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.247, allocations: 0.677 MB / 0.7637 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.671e-05/0.247, allocations: 4 kB / 0.7637 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.247, allocations: 15.44 kB / 0.7637 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.247, allocations: 0 / 0.7637 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03791/0.2849, allocations: 1.143 MB / 0.7648 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002417/0.2852, allocations: 209.1 kB / 0.765 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/1.902, allocations: 0 / 0.765 GB, free: 12.69 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: