Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008322/0.0008322, 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.0008731/0.0008731, allocations: 177.3 kB / 15.94 MB, free: 228 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.236/1.236, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001711/0.001711, allocations: 278.8 kB / 291.3 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.7822/0.7822, allocations: 144.6 MB / 487 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.000377, allocations: 11.91 kB / 0.5683 GB, free: 38.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.152, allocations: 83.08 MB / 0.6494 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001579/0.1536, allocations: 1.32 MB / 0.6507 GB, free: 2.402 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1396/0.2932, allocations: 126.5 MB / 0.7742 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.2934, allocations: 0 / 0.7742 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.2936, allocations: 15.88 kB / 0.7742 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.2939, allocations: 55.78 kB / 0.7743 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.2945, allocations: 155.6 kB / 0.7744 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.2948, allocations: 95.8 kB / 0.7745 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.2949, allocations: 20 kB / 0.7745 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003655/0.2953, allocations: 115.7 kB / 0.7747 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.2955, allocations: 47.83 kB / 0.7747 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.2955, allocations: 4 kB / 0.7747 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004051/0.2959, allocations: 171.8 kB / 0.7749 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.364e-05/0.296, allocations: 15.92 kB / 0.7749 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.296, allocations: 37.7 kB / 0.7749 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.2964, allocations: 136 kB / 0.775 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2964, allocations: 0 / 0.775 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2964, allocations: 0 / 0.775 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2964, allocations: 4 kB / 0.7751 GB, free: 2.789 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008662/0.2973, allocations: 458.8 kB / 0.7755 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2973, allocations: 8.031 kB / 0.7755 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006452/0.298, allocations: 55.84 kB / 0.7755 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.2982, allocations: 197.5 kB / 0.7757 GB, free: 2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.2982, allocations: 8 kB / 0.7757 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.2983, allocations: 8 kB / 0.7758 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/0.2988, allocations: 195.7 kB / 0.7759 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.2988, allocations: 3.984 kB / 0.7759 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.2988, allocations: 15.89 kB / 0.776 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2988, allocations: 0 / 0.776 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004877/0.2993, allocations: 159.8 kB / 0.7761 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.3005, allocations: 0.8322 MB / 0.7769 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.3009, allocations: 142.5 kB / 0.7771 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.301, allocations: 0 / 0.7771 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.301, allocations: 34.5 kB / 0.7771 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.031e-06/0.301, allocations: 0 / 0.7771 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.3143/0.6153, allocations: 491.6 kB / 0.7776 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.6154, allocations: 56.66 kB / 0.7776 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.6155, allocations: 141.3 kB / 0.7777 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/0.6156, allocations: 27.62 kB / 0.7778 GB, free: 130.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.6157, allocations: 106.3 kB / 0.7779 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.6157, allocations: 31.73 kB / 0.7779 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/0.6157, allocations: 4.875 kB / 0.7779 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.274e-05/0.6158, allocations: 322.8 kB / 0.7782 GB, free: 130 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.6161, allocations: 80.64 kB / 0.7783 GB, free: 130 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.6163, allocations: 110.2 kB / 0.7784 GB, free: 130 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.6166, allocations: 82.98 kB / 0.7785 GB, free: 130 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.6166, allocations: 0.75 kB / 0.7785 GB, free: 130 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001016/0.6176, allocations: 308.3 kB / 0.7788 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.6176, allocations: 5.125 kB / 0.7788 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.6176, allocations: 3.281 kB / 0.7788 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005562/0.6182, allocations: 85.19 kB / 0.7789 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.6184, allocations: 44.12 kB / 0.7789 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.6202, allocations: 1.56 MB / 0.7804 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.6205, allocations: 31.48 kB / 0.7805 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.6205, allocations: 6.656 kB / 0.7805 GB, free: 128.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.6206, allocations: 124.9 kB / 0.7806 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.6207, allocations: 12.84 kB / 0.7806 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.6217, allocations: 335 kB / 0.7809 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6217, allocations: 0 / 0.7809 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.6218, allocations: 1.469 kB / 0.7809 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6218, allocations: 1.359 kB / 0.7809 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.622, allocations: 243 kB / 0.7812 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.622, allocations: 1.172 kB / 0.7812 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.6222, allocations: 29.98 kB / 0.7812 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004984/0.6227, allocations: 90 kB / 0.7813 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.6227, allocations: 5.812 kB / 0.7813 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.6242, allocations: 1.584 MB / 0.7828 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6242, allocations: 4.484 kB / 0.7828 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009927/0.6252, allocations: 398.8 kB / 0.7832 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.6253, allocations: 93.58 kB / 0.7833 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.6253, allocations: 3.906 kB / 0.7833 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.6255, allocations: 21.91 kB / 0.7833 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.6256, allocations: 14.45 kB / 0.7833 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.6256, allocations: 7.656 kB / 0.7833 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.408e-05/0.6257, allocations: 110.5 kB / 0.7834 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.6257, allocations: 0 / 0.7834 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003402/0.626, allocations: 42.11 kB / 0.7835 GB, free: 126.7 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001872/0.6262, allocations: 122.7 kB / 0.7836 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008809/0.6271, allocations: 330.7 kB / 0.7839 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6271, allocations: 0 / 0.7839 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.6276, allocations: 232.5 kB / 0.7841 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.6279, allocations: 30.22 kB / 0.7842 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000755/0.6286, allocations: 354.9 kB / 0.7845 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.6288, allocations: 0.7081 MB / 0.7852 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.629, allocations: 27.84 kB / 0.7852 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.629, allocations: 16.62 kB / 0.7852 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.629, allocations: 4 kB / 0.7852 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.006267/0.6353, allocations: 2.852 MB / 0.788 GB, free: 125.2 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) Environment - environmentSimulation: