Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008179/0.0008181, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009074/0.0009077, allocations: 182 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7204/0.7204, allocations: 115.5 MB / 407.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003611, allocations: 15.98 kB / 495.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1828, allocations: 77.53 MB / 0.56 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001889/0.1847, allocations: 0.973 MB / 0.5609 GB, free: 8.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007511/0.1855, allocations: 303.1 kB / 0.5612 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.1856, allocations: 0 / 0.5612 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.3e-05/0.1856, allocations: 7.922 kB / 0.5612 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.662e-05/0.1857, allocations: 4 kB / 0.5612 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.186, allocations: 39.83 kB / 0.5613 GB, free: 7.742 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.235e-05/0.186, allocations: 23.86 kB / 0.5613 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.1861, allocations: 4 kB / 0.5613 GB, free: 7.715 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.964e-05/0.1861, allocations: 7.984 kB / 0.5613 GB, free: 7.707 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.123e-05/0.1862, allocations: 3.938 kB / 0.5613 GB, free: 7.703 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1862, allocations: 4 kB / 0.5613 GB, free: 7.699 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1863, allocations: 51.95 kB / 0.5613 GB, free: 7.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.1864, allocations: 4 kB / 0.5613 GB, free: 7.645 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.1864, allocations: 41.62 kB / 0.5614 GB, free: 7.598 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1866, allocations: 48.17 kB / 0.5614 GB, free: 7.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1866, allocations: 0 / 0.5614 GB, free: 7.551 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1866, allocations: 0 / 0.5614 GB, free: 7.551 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.1866, allocations: 0 / 0.5614 GB, free: 7.551 MB / 430.1 MB 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.0003935/0.187, allocations: 327.6 kB / 0.5617 GB, free: 7.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1871, allocations: 12.03 kB / 0.5618 GB, free: 7.168 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002304/0.1873, allocations: 20.92 kB / 0.5618 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.1874, allocations: 168.3 kB / 0.5619 GB, free: 6.945 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1874, allocations: 384 / 0.5619 GB, free: 6.945 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.1875, allocations: 384 / 0.5619 GB, free: 6.945 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.1876, allocations: 50.12 kB / 0.562 GB, free: 6.891 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1876, allocations: 4.172 kB / 0.562 GB, free: 6.887 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1876, allocations: 3.938 kB / 0.562 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1876, allocations: 4 kB / 0.562 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.031e-05/0.1877, allocations: 12 kB / 0.562 GB, free: 6.867 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.1879, allocations: 165.6 kB / 0.5622 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.1897, allocations: 266.5 kB / 0.5624 GB, free: 6.387 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.1898, allocations: 28.84 kB / 0.5624 GB, free: 6.355 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.1898, allocations: 0 / 0.5624 GB, free: 6.355 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1898, allocations: 34.5 kB / 0.5625 GB, free: 6.312 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1898, allocations: 0 / 0.5625 GB, free: 6.312 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001765/0.19, allocations: 65.62 kB / 0.5625 GB, free: 6.242 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.1901, allocations: 51.41 kB / 0.5626 GB, free: 6.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.004e-05/0.1902, allocations: 97.86 kB / 0.5627 GB, free: 6.074 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1902, allocations: 25.7 kB / 0.5627 GB, free: 6.043 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.1902, allocations: 80.14 kB / 0.5628 GB, free: 5.961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.1903, allocations: 15.8 kB / 0.5628 GB, free: 5.945 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.1903, allocations: 13.72 kB / 0.5628 GB, free: 5.926 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1904, allocations: 310.8 kB / 0.5631 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.1905, allocations: 11.94 kB / 0.5631 GB, free: 5.602 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.726e-05/0.1905, allocations: 7.984 kB / 0.5631 GB, free: 5.594 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.066e-05/0.1905, allocations: 32.8 kB / 0.5632 GB, free: 5.559 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1905, allocations: 4.125 kB / 0.5632 GB, free: 5.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.948e-05/0.1906, allocations: 53.69 kB / 0.5632 GB, free: 5.496 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1906, allocations: 5.719 kB / 0.5632 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1907, allocations: 3.938 kB / 0.5632 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1907, allocations: 0 / 0.5632 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.671e-05/0.1907, allocations: 8 kB / 0.5632 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1907, allocations: 0 / 0.5632 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.836e-05/0.1908, allocations: 0 / 0.5632 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.1908, allocations: 0 / 0.5632 GB, free: 5.48 MB / 430.1 MB 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 8.462e-05/0.1909, allocations: 117.8 kB / 0.5633 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.1909, allocations: 4 kB / 0.5634 GB, free: 5.352 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.1909, allocations: 11.44 kB / 0.5634 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1909, allocations: 3.938 kB / 0.5634 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.1909, allocations: 4 kB / 0.5634 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.191, allocations: 4 kB / 0.5634 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.1911, allocations: 162 kB / 0.5635 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1911, allocations: 0 / 0.5635 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.1911, allocations: 4 kB / 0.5635 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1911, allocations: 0 / 0.5635 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1912, allocations: 7.938 kB / 0.5635 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1912, allocations: 4 kB / 0.5635 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1912, allocations: 3.984 kB / 0.5635 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.841e-05/0.1913, allocations: 77.11 kB / 0.5636 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.678e-05/0.1914, allocations: 88.94 kB / 0.5637 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.1914, allocations: 11.94 kB / 0.5637 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.629e-05/0.1914, allocations: 0 / 0.5637 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.1915, allocations: 3.938 kB / 0.5637 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1915, allocations: 4 kB / 0.5637 GB, free: 4.883 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.996e-05/0.1915, allocations: 83.27 kB / 0.5638 GB, free: 4.801 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1915, allocations: 0 / 0.5638 GB, free: 4.801 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001945/0.1917, allocations: 4 kB / 0.5638 GB, free: 4.797 MB / 430.1 MB 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 0.0001287/0.1918, allocations: 95.25 kB / 0.5639 GB, free: 4.691 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.549e-05/0.1919, allocations: 27.98 kB / 0.5639 GB, free: 4.664 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.192, allocations: 0 / 0.5639 GB, free: 4.664 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.452e-05/0.192, allocations: 15.94 kB / 0.5639 GB, free: 4.648 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.1922, allocations: 18.25 kB / 0.564 GB, free: 4.633 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.1926, allocations: 133.4 kB / 0.5641 GB, free: 4.473 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.1928, allocations: 0.677 MB / 0.5647 GB, free: 3.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.005e-05/0.1929, allocations: 4 kB / 0.5647 GB, free: 3.766 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.381e-05/0.1929, allocations: 11.44 kB / 0.5648 GB, free: 3.754 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1929, allocations: 0 / 0.5648 GB, free: 3.754 MB / 430.1 MB Notification: Performance of Templates: time 0.002502/0.1954, allocations: 483.2 kB / 0.5652 GB, free: 3.289 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)