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: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009275/0.0009278, allocations: 97.97 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.0008317/0.0008317, 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.242/1.242, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001683/0.001683, allocations: 262.8 kB / 291.2 MB, free: 2.004 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.7875/0.7875, allocations: 144.6 MB / 487 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003916, allocations: 12.88 kB / 0.5683 GB, free: 38.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1599, allocations: 83.08 MB / 0.6494 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001497/0.1614, allocations: 1.198 MB / 0.6506 GB, free: 2.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1227/0.2841, allocations: 112 MB / 0.7599 GB, free: 2.188 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.2842, allocations: 0 / 0.7599 GB, free: 2.188 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.455e-05/0.2843, allocations: 7.875 kB / 0.7599 GB, free: 2.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.837e-05/0.2844, allocations: 11.98 kB / 0.76 GB, free: 2.168 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.2847, allocations: 59.66 kB / 0.76 GB, free: 2.113 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.814e-05/0.2847, allocations: 35.89 kB / 0.76 GB, free: 2.078 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.351e-05/0.2848, allocations: 11.98 kB / 0.7601 GB, free: 2.066 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.546e-05/0.2849, allocations: 15.98 kB / 0.7601 GB, free: 2.051 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/0.2849, allocations: 23.91 kB / 0.7601 GB, free: 2.027 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.285, allocations: 3.938 kB / 0.7601 GB, free: 2.023 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.156e-05/0.285, allocations: 16 kB / 0.7601 GB, free: 2.008 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.2851, allocations: 7.984 kB / 0.7601 GB, free: 2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.2851, allocations: 33.7 kB / 0.7602 GB, free: 1.961 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.567e-05/0.2852, allocations: 36.22 kB / 0.7602 GB, free: 1.926 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.2852, allocations: 0 / 0.7602 GB, free: 1.926 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2852, allocations: 7.938 kB / 0.7602 GB, free: 1.918 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2852, allocations: 0 / 0.7602 GB, free: 1.918 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004793/0.2857, allocations: 379.2 kB / 0.7606 GB, free: 1.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.2857, allocations: 8.031 kB / 0.7606 GB, free: 1.492 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.2858, allocations: 7.906 kB / 0.7606 GB, free: 1.484 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.2859, allocations: 167 kB / 0.7607 GB, free: 1.281 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.2859, allocations: 0 / 0.7607 GB, free: 1.281 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.2859, allocations: 4 kB / 0.7607 GB, free: 1.277 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.2862, allocations: 89.62 kB / 0.7608 GB, free: 1.184 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.2862, allocations: 0 / 0.7608 GB, free: 1.184 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2862, allocations: 4 kB / 0.7608 GB, free: 1.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.2862, allocations: 4 kB / 0.7608 GB, free: 1.176 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.2865, allocations: 91.86 kB / 0.7609 GB, free: 1.086 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.2868, allocations: 280.7 kB / 0.7612 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.2871, allocations: 70.53 kB / 0.7613 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.2872, allocations: 89.11 kB / 0.7613 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.2872, allocations: 46.58 kB / 0.7614 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2872, allocations: 3.938 kB / 0.7614 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005389/0.2878, allocations: 161.5 kB / 0.7615 GB, free: 364 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.2878, allocations: 51.41 kB / 0.7616 GB, free: 300 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.2879, allocations: 121.8 kB / 0.7617 GB, free: 168 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.2879, allocations: 25.7 kB / 0.7617 GB, free: 136 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.288, allocations: 92.14 kB / 0.7618 GB, free: 40 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.288, allocations: 7.969 kB / 0.7618 GB, free: 32 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.288, allocations: 0 / 0.7618 GB, free: 32 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2881, allocations: 330.7 kB / 0.7621 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.2883, allocations: 39.97 kB / 0.7622 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.2884, allocations: 39.95 kB / 0.7622 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.2886, allocations: 47.91 kB / 0.7623 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2886, allocations: 0 / 0.7623 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003165/0.2889, allocations: 125.5 kB / 0.7624 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2889, allocations: 4 kB / 0.7624 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2889, allocations: 4 kB / 0.7624 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.2889, allocations: 0 / 0.7624 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.2891, allocations: 23.97 kB / 0.7624 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.2891, allocations: 4 kB / 0.7624 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.34e-05/0.2892, allocations: 15.98 kB / 0.7624 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.2892, allocations: 0 / 0.7624 GB, free: 15.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.532e-05/0.2893, allocations: 113.8 kB / 0.7625 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.2893, allocations: 7.906 kB / 0.7625 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.2897, allocations: 137.4 kB / 0.7627 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2897, allocations: 0 / 0.7627 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2897, allocations: 0 / 0.7627 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2897, allocations: 3.984 kB / 0.7627 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.2898, allocations: 169.6 kB / 0.7628 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2898, allocations: 4 kB / 0.7628 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.467e-05/0.2899, allocations: 23.97 kB / 0.7629 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2899, allocations: 0 / 0.7629 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.29, allocations: 4 kB / 0.7629 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.29, allocations: 4 kB / 0.7629 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.29, allocations: 4.312 kB / 0.7629 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.2903, allocations: 219.4 kB / 0.7631 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.2904, allocations: 85.02 kB / 0.7632 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.2904, allocations: 3.984 kB / 0.7632 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.2905, allocations: 19.98 kB / 0.7632 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.2906, allocations: 4 kB / 0.7632 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.2906, allocations: 0 / 0.7632 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.624e-05/0.2906, allocations: 95.7 kB / 0.7633 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2906, allocations: 0 / 0.7633 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000214/0.2908, allocations: 12 kB / 0.7633 GB, free: 14.4 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.000127/0.291, allocations: 111.2 kB / 0.7634 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.2913, allocations: 91.92 kB / 0.7635 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2913, allocations: 0 / 0.7635 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.2915, allocations: 51.89 kB / 0.7635 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.2917, allocations: 16.22 kB / 0.7636 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.292, allocations: 176.5 kB / 0.7637 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.2922, allocations: 0.6887 MB / 0.7644 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.065e-05/0.2922, allocations: 3.984 kB / 0.7644 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.2923, allocations: 11.44 kB / 0.7644 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.2923, allocations: 4 kB / 0.7644 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of Templates: time 0.002782/0.295, allocations: 0.8166 MB / 0.7652 GB, free: 12.38 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.makefile Environment - environmentSimulation: (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: