Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001516/0.001516, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001535/0.001535, allocations: 189.6 kB / 16.25 MB, free: 6.152 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.369/1.369, allocations: 222.9 MB / 239.9 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9348/0.9348, allocations: 135.6 MB / 425.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 61.53 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1601, allocations: 81.04 MB / 0.5845 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00238/0.1625, allocations: 1.302 MB / 0.5858 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005586/0.1631, allocations: 300.8 kB / 0.5861 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.1631, allocations: 3.938 kB / 0.5861 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.1631, allocations: 3.984 kB / 0.5861 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.457e-05/0.1632, allocations: 0 / 0.5861 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.1634, allocations: 39.81 kB / 0.5861 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.382e-05/0.1635, allocations: 23.88 kB / 0.5861 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.1635, allocations: 7.984 kB / 0.5861 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.98e-05/0.1636, allocations: 4 kB / 0.5861 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.847e-05/0.1636, allocations: 7.938 kB / 0.5862 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.1636, allocations: 0 / 0.5862 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.1638, allocations: 55.95 kB / 0.5862 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.1638, allocations: 11.98 kB / 0.5862 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.1638, allocations: 11.92 kB / 0.5862 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.1639, allocations: 40.19 kB / 0.5863 GB, free: 2.504 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.164, allocations: 3.938 kB / 0.5863 GB, free: 2.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.164, allocations: 0 / 0.5863 GB, free: 2.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.164, allocations: 4 kB / 0.5863 GB, free: 2.496 MB / 494.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.0003874/0.1644, allocations: 331.6 kB / 0.5866 GB, free: 2.121 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.1644, allocations: 8.031 kB / 0.5866 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.1646, allocations: 28.81 kB / 0.5866 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.1648, allocations: 168.3 kB / 0.5868 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1648, allocations: 4.375 kB / 0.5868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.1648, allocations: 4.375 kB / 0.5868 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.1649, allocations: 46.19 kB / 0.5868 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1649, allocations: 4.188 kB / 0.5868 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1649, allocations: 3.938 kB / 0.5868 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1649, allocations: 0 / 0.5868 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.775e-05/0.165, allocations: 15.98 kB / 0.5869 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.1652, allocations: 157.7 kB / 0.587 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.167, allocations: 274.4 kB / 0.5873 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.1671, allocations: 16.86 kB / 0.5873 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.1671, allocations: 0 / 0.5873 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.1671, allocations: 38.5 kB / 0.5873 GB, free: 1.254 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1672, allocations: 0 / 0.5873 GB, free: 1.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001596/0.1673, allocations: 65.62 kB / 0.5874 GB, free: 1.184 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.1674, allocations: 55.41 kB / 0.5874 GB, free: 1.117 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.784e-05/0.1675, allocations: 97.84 kB / 0.5875 GB, free: 1.012 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1675, allocations: 25.7 kB / 0.5876 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.1675, allocations: 80.14 kB / 0.5876 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.1676, allocations: 11.81 kB / 0.5876 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.1676, allocations: 13.72 kB / 0.5877 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1678, allocations: 319 kB / 0.588 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.1678, allocations: 11.98 kB / 0.588 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.762e-05/0.1678, allocations: 4 kB / 0.588 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.815e-05/0.1679, allocations: 32.8 kB / 0.588 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1679, allocations: 0 / 0.588 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.806e-05/0.168, allocations: 53.69 kB / 0.5881 GB, free: 448 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.168, allocations: 4 kB / 0.5881 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.168, allocations: 3.938 kB / 0.5881 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.168, allocations: 0 / 0.5881 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.853e-05/0.1681, allocations: 11.98 kB / 0.5881 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1681, allocations: 4 kB / 0.5881 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.784e-05/0.1681, allocations: 0 / 0.5881 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1681, allocations: 0 / 0.5881 GB, free: 424 kB / 494.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.109e-05/0.1682, allocations: 117.7 kB / 0.5882 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.1682, allocations: 0 / 0.5882 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.1683, allocations: 15.38 kB / 0.5882 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1683, allocations: 0 / 0.5882 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1683, allocations: 0 / 0.5882 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1683, allocations: 0 / 0.5882 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.1684, allocations: 165.6 kB / 0.5884 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1684, allocations: 0 / 0.5884 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-05/0.1685, allocations: 8 kB / 0.5884 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1685, allocations: 3.984 kB / 0.5884 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.1685, allocations: 3.938 kB / 0.5884 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1685, allocations: 4 kB / 0.5884 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1685, allocations: 0 / 0.5884 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.1687, allocations: 77.45 kB / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.355e-05/0.1687, allocations: 81.05 kB / 0.5885 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.1688, allocations: 7.938 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.743e-05/0.1688, allocations: 11.98 kB / 0.5886 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.1689, allocations: 7.969 kB / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1689, allocations: 0 / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.037e-05/0.1689, allocations: 79.28 kB / 0.5886 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1689, allocations: 0 / 0.5886 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001741/0.1691, allocations: 4 kB / 0.5886 GB, free: 15.74 MB / 0.4981 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 0.0001237/0.1692, allocations: 99.34 kB / 0.5887 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.1693, allocations: 27.98 kB / 0.5888 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1693, allocations: 0 / 0.5888 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.529e-05/0.1694, allocations: 15.94 kB / 0.5888 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.1696, allocations: 11.97 kB / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.1699, allocations: 142.5 kB / 0.5889 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.1703, allocations: 0.6729 MB / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.861e-05/0.1703, allocations: 4 kB / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.1703, allocations: 11.44 kB / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1704, allocations: 0 / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.002667/0.173, allocations: 0.5025 MB / 0.5901 GB, free: 14.2 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)