Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.0008947/0.0008948, allocations: 99.23 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.0009102/0.0009104, 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.232/1.232, allocations: 223.2 MB / 239.9 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8695/0.8695, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003199, allocations: 12 kB / 0.5068 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.148, allocations: 82.32 MB / 0.5872 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001197/0.1493, allocations: 0.9627 MB / 0.5881 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004379/0.1497, allocations: 269.2 kB / 0.5884 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.762e-05/0.1497, allocations: 0 / 0.5884 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.849e-06/0.1498, allocations: 0 / 0.5884 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.492e-05/0.1498, allocations: 3.984 kB / 0.5884 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.15, allocations: 47.8 kB / 0.5884 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.883e-05/0.1501, allocations: 11.98 kB / 0.5885 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.1501, allocations: 4 kB / 0.5885 GB, free: 1.809 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.761e-05/0.1502, allocations: 7.984 kB / 0.5885 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.981e-05/0.1502, allocations: 7.938 kB / 0.5885 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.1502, allocations: 4 kB / 0.5885 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.1503, allocations: 55.95 kB / 0.5885 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.211e-06/0.1504, allocations: 0 / 0.5885 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.1504, allocations: 29.7 kB / 0.5886 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.084e-05/0.1505, allocations: 48.11 kB / 0.5886 GB, free: 1.652 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.1505, allocations: 0 / 0.5886 GB, free: 1.652 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1505, allocations: 0 / 0.5886 GB, free: 1.652 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.1505, allocations: 0 / 0.5886 GB, free: 1.652 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.0002924/0.1508, allocations: 323.4 kB / 0.5889 GB, free: 1.289 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.1508, allocations: 16.03 kB / 0.5889 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.151, allocations: 19.88 kB / 0.589 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.311e-05/0.1511, allocations: 171 kB / 0.5891 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1512, allocations: 0 / 0.5891 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.1512, allocations: 4 kB / 0.5891 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.1513, allocations: 49.56 kB / 0.5892 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1513, allocations: 3.984 kB / 0.5892 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1513, allocations: 0 / 0.5892 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1513, allocations: 4 kB / 0.5892 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.406e-05/0.1514, allocations: 19.98 kB / 0.5892 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.1515, allocations: 157.7 kB / 0.5893 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.1533, allocations: 274.3 kB / 0.5896 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.1533, allocations: 0 / 0.5896 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.1533, allocations: 34.56 kB / 0.5896 GB, free: 448 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.1533, allocations: 0 / 0.5896 GB, free: 448 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001453/0.1535, allocations: 61.78 kB / 0.5897 GB, free: 380 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.1535, allocations: 51.41 kB / 0.5897 GB, free: 316 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.44e-05/0.1536, allocations: 93.86 kB / 0.5898 GB, free: 212 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.1536, allocations: 25.7 kB / 0.5899 GB, free: 180 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.297e-05/0.1536, allocations: 80.14 kB / 0.5899 GB, free: 96 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.1536, allocations: 19.8 kB / 0.59 GB, free: 76 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.1537, allocations: 0 / 0.59 GB, free: 76 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1538, allocations: 310.8 kB / 0.5903 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.1538, allocations: 11.94 kB / 0.5903 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.485e-05/0.1538, allocations: 4 kB / 0.5903 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.831e-05/0.1538, allocations: 24.06 kB / 0.5903 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1538, allocations: 0 / 0.5903 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.324e-05/0.1539, allocations: 49.7 kB / 0.5903 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1539, allocations: 10.5 kB / 0.5903 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.154, allocations: 0 / 0.5903 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.154, allocations: 0 / 0.5903 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.273e-05/0.154, allocations: 7.984 kB / 0.5904 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.154, allocations: 0 / 0.5904 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.689e-05/0.1541, allocations: 4 kB / 0.5904 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.1541, allocations: 0 / 0.5904 GB, free: 15.65 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.979e-05/0.1542, allocations: 117.7 kB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.1542, allocations: 4 kB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/0.1542, allocations: 11.44 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1542, allocations: 0 / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1542, allocations: 3.938 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.1542, allocations: 0 / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.688e-05/0.1543, allocations: 157.7 kB / 0.5906 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1543, allocations: 7.953 kB / 0.5906 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.1544, allocations: 7.984 kB / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1544, allocations: 0 / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1544, allocations: 8 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1544, allocations: 0 / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1544, allocations: 3.984 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.804e-05/0.1545, allocations: 81.36 kB / 0.5907 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.1546, allocations: 89.03 kB / 0.5908 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.1546, allocations: 0 / 0.5908 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.994e-05/0.1546, allocations: 7.922 kB / 0.5908 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.1547, allocations: 8 kB / 0.5908 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1547, allocations: 4 kB / 0.5908 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.516e-05/0.1547, allocations: 75.28 kB / 0.5909 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1547, allocations: 0 / 0.5909 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001747/0.1549, allocations: 8 kB / 0.5909 GB, free: 14.96 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 (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 9.951e-05/0.155, allocations: 95.25 kB / 0.591 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.778e-05/0.1551, allocations: 23.98 kB / 0.591 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1551, allocations: 4 kB / 0.591 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.146e-05/0.1551, allocations: 20.03 kB / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.1553, allocations: 7.984 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.1555, allocations: 128.6 kB / 0.5912 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.1558, allocations: 0.6848 MB / 0.5919 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.601e-05/0.1558, allocations: 4 kB / 0.5919 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.1558, allocations: 11.44 kB / 0.5919 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1558, allocations: 0 / 0.5919 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of Templates: time 0.002023/0.1579, allocations: 463 kB / 0.5923 GB, free: 13.47 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) Environment - environmentSimulation: