Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.447/1.447, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001444, allocations: 180.6 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.4 MB / 0.5786 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007977/0.0007978, allocations: 83.67 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003006, allocations: 9.234 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1799, allocations: 106.3 MB / 0.9015 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001254/0.1812, allocations: 0.9893 MB / 0.9024 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005317/0.1817, allocations: 300.4 kB / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.801e-05/0.1818, allocations: 0 / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.1818, allocations: 0 / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.302e-05/0.1819, allocations: 3.984 kB / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.1821, allocations: 51.77 kB / 0.9028 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.774e-05/0.1822, allocations: 15.88 kB / 0.9028 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.1823, allocations: 4 kB / 0.9028 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.109e-05/0.1823, allocations: 7.984 kB / 0.9028 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.694e-05/0.1823, allocations: 11.98 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1824, allocations: 4 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.1825, allocations: 51.95 kB / 0.9028 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.1825, allocations: 3.938 kB / 0.9029 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.1825, allocations: 33.69 kB / 0.9029 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.208e-05/0.1826, allocations: 31.98 kB / 0.9029 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1827, allocations: 4 kB / 0.9029 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1827, allocations: 3.938 kB / 0.9029 GB, free: 62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.1827, allocations: 0 / 0.9029 GB, free: 62 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002786/0.183, allocations: 327.8 kB / 0.9032 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.183, allocations: 15.97 kB / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.1832, allocations: 20.91 kB / 0.9033 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.711e-05/0.1833, allocations: 164.4 kB / 0.9034 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1833, allocations: 4.375 kB / 0.9034 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.1833, allocations: 384 / 0.9034 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.1835, allocations: 46.19 kB / 0.9035 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.1835, allocations: 192 / 0.9035 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1835, allocations: 3.938 kB / 0.9035 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1835, allocations: 0 / 0.9035 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.903e-05/0.1835, allocations: 19.98 kB / 0.9035 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.1837, allocations: 161.7 kB / 0.9037 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.1854, allocations: 266.4 kB / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.1855, allocations: 24.8 kB / 0.9039 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.1855, allocations: 4 kB / 0.9039 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.1855, allocations: 38.56 kB / 0.904 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.1855, allocations: 0 / 0.904 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.00015/0.1857, allocations: 69.73 kB / 0.904 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.1857, allocations: 55.41 kB / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.335e-05/0.1858, allocations: 89.86 kB / 0.9042 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/0.1858, allocations: 29.7 kB / 0.9042 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.22e-05/0.1858, allocations: 80.14 kB / 0.9043 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.1858, allocations: 15.88 kB / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.1858, allocations: 4 kB / 0.9043 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.456e-05/0.1859, allocations: 314.8 kB / 0.9046 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/0.1859, allocations: 11.98 kB / 0.9046 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.476e-05/0.1859, allocations: 8 kB / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.228e-05/0.186, allocations: 24.86 kB / 0.9046 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.186, allocations: 0 / 0.9046 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.942e-05/0.1861, allocations: 49.69 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1861, allocations: 8 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1861, allocations: 7.938 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1861, allocations: 0 / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.793e-05/0.1862, allocations: 11.92 kB / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1862, allocations: 0 / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.1862, allocations: 15.84 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1862, allocations: 0 / 0.9047 GB, free: 59.93 MB / 0.6042 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 (4): * Single equations (assignments): 4 * 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 5.244e-05/0.1863, allocations: 105.8 kB / 0.9048 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/0.1863, allocations: 4 kB / 0.9048 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.1863, allocations: 11.44 kB / 0.9048 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1864, allocations: 7.938 kB / 0.9049 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1864, allocations: 0 / 0.9049 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1864, allocations: 0 / 0.9049 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.952e-05/0.1864, allocations: 153.7 kB / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1865, allocations: 4 kB / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.323e-05/0.1865, allocations: 4 kB / 0.905 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1865, allocations: 3.984 kB / 0.905 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.1865, allocations: 3.938 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1865, allocations: 0 / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1865, allocations: 0 / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.479e-05/0.1866, allocations: 89.06 kB / 0.9051 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.1867, allocations: 77.11 kB / 0.9052 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.1867, allocations: 3.938 kB / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.148e-05/0.1868, allocations: 0 / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.1868, allocations: 7.984 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.1868, allocations: 4 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.634e-05/0.1868, allocations: 75.28 kB / 0.9053 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1868, allocations: 96 / 0.9053 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001736/0.187, allocations: 12 kB / 0.9053 GB, free: 59.27 MB / 0.6042 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 (4): * Single equations (assignments): 4 * 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 8.944e-05/0.1871, allocations: 95.25 kB / 0.9054 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.349e-05/0.1872, allocations: 27.98 kB / 0.9054 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1872, allocations: 0 / 0.9054 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.029e-05/0.1872, allocations: 15.94 kB / 0.9054 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.1874, allocations: 11.28 kB / 0.9054 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.1878, allocations: 178.1 kB / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.333e-05/0.1879, allocations: 0.6736 MB / 0.9062 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.1879, allocations: 11.44 kB / 0.9063 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of SimCode: time 9.22e-07/0.1879, allocations: 0 / 0.9063 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.001496/0.1894, allocations: 0.525 MB / 0.9068 GB, free: 57.67 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)