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.0008492/0.0008492, allocations: 100.3 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.0008573/0.0008574, 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.198/1.198, 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/IDEAS 3.0.0-master/package.mo): time 0.8313/0.8313, allocations: 135.2 MB / 426.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002992, allocations: 12 kB / 0.5068 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.151, allocations: 82.32 MB / 0.5872 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001145/0.1522, allocations: 0.9666 MB / 0.5881 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004831/0.1527, allocations: 263.4 kB / 0.5884 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.818e-05/0.1527, allocations: 0 / 0.5884 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.1528, allocations: 4 kB / 0.5884 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.742e-05/0.1528, allocations: 0 / 0.5884 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.153, allocations: 51.78 kB / 0.5884 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.487e-05/0.1531, allocations: 11.98 kB / 0.5885 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.687e-05/0.1532, allocations: 4 kB / 0.5885 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.885e-05/0.1532, allocations: 4 kB / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.761e-05/0.1533, allocations: 11.91 kB / 0.5885 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.1533, allocations: 4 kB / 0.5885 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1534, allocations: 55.95 kB / 0.5885 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.333e-06/0.1534, allocations: 4 kB / 0.5885 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.1535, allocations: 29.7 kB / 0.5886 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.116e-05/0.1535, allocations: 36.19 kB / 0.5886 GB, free: 1.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.1536, allocations: 0 / 0.5886 GB, free: 1.637 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1536, allocations: 3.938 kB / 0.5886 GB, free: 1.633 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1536, allocations: 0 / 0.5886 GB, free: 1.633 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.0003343/0.1539, allocations: 327.4 kB / 0.5889 GB, free: 1.266 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.154, allocations: 12.03 kB / 0.5889 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.1542, allocations: 19.89 kB / 0.5889 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1543, allocations: 171 kB / 0.5891 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1543, allocations: 7.922 kB / 0.5891 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.1543, allocations: 0 / 0.5891 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.1544, allocations: 49.62 kB / 0.5892 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1544, allocations: 0 / 0.5892 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1544, allocations: 0 / 0.5892 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.1545, allocations: 0 / 0.5892 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.731e-05/0.1545, allocations: 12 kB / 0.5892 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.1547, allocations: 169.6 kB / 0.5893 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.1564, allocations: 278.4 kB / 0.5896 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.1564, allocations: 0 / 0.5896 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.1565, allocations: 38.56 kB / 0.5896 GB, free: 420 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.1565, allocations: 0 / 0.5896 GB, free: 420 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001571/0.1566, allocations: 61.78 kB / 0.5897 GB, free: 352 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.1567, allocations: 55.39 kB / 0.5898 GB, free: 284 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.389e-05/0.1567, allocations: 89.86 kB / 0.5898 GB, free: 184 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.1567, allocations: 25.7 kB / 0.5899 GB, free: 152 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.1568, allocations: 88.2 kB / 0.5899 GB, free: 60 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.1568, allocations: 15.81 kB / 0.59 GB, free: 44 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.1568, allocations: 0 / 0.59 GB, free: 44 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1569, allocations: 314.8 kB / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.157, allocations: 11.98 kB / 0.5903 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.329e-05/0.157, allocations: 4 kB / 0.5903 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/0.157, allocations: 12 kB / 0.5903 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.157, allocations: 0 / 0.5903 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.59e-05/0.1571, allocations: 49.69 kB / 0.5903 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1571, allocations: 12 kB / 0.5903 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1571, allocations: 0 / 0.5903 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.1571, allocations: 0 / 0.5903 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/0.1572, allocations: 4 kB / 0.5904 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1572, allocations: 0 / 0.5904 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.962e-05/0.1572, allocations: 8 kB / 0.5904 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1572, allocations: 7.922 kB / 0.5904 GB, free: 15.61 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.138e-05/0.1573, allocations: 109.8 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.217e-06/0.1573, allocations: 4 kB / 0.5905 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.1574, allocations: 11.5 kB / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1574, allocations: 0 / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1574, allocations: 7.875 kB / 0.5905 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1574, allocations: 0 / 0.5905 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.1575, allocations: 157.6 kB / 0.5906 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1575, allocations: 4 kB / 0.5906 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.133e-05/0.1575, allocations: 4 kB / 0.5907 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1575, allocations: 0 / 0.5907 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.1576, allocations: 0 / 0.5907 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1576, allocations: 0 / 0.5907 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1576, allocations: 0 / 0.5907 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.957e-05/0.1577, allocations: 96.95 kB / 0.5907 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.1577, allocations: 85 kB / 0.5908 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.1578, allocations: 0 / 0.5908 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.953e-05/0.1578, allocations: 0 / 0.5908 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.1578, allocations: 4.375 kB / 0.5908 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.1578, allocations: 7.984 kB / 0.5908 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.531e-05/0.1579, allocations: 79.28 kB / 0.5909 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1579, allocations: 0 / 0.5909 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001682/0.1581, allocations: 8 kB / 0.5909 GB, free: 14.95 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.037e-05/0.1582, allocations: 95.25 kB / 0.591 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.526e-05/0.1582, allocations: 27.97 kB / 0.591 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1582, allocations: 4 kB / 0.591 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-05/0.1583, allocations: 15.94 kB / 0.5911 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.1584, allocations: 8.078 kB / 0.5911 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002549/0.1587, allocations: 132.6 kB / 0.5912 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.1589, allocations: 0.6809 MB / 0.5919 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.738e-05/0.159, allocations: 7.984 kB / 0.5919 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.159, allocations: 7.438 kB / 0.5919 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.159, allocations: 4 kB / 0.5919 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.002041/0.161, allocations: 472.9 kB / 0.5923 GB, free: 13.45 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: