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.001655/0.001655, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001884/0.001885, allocations: 187 kB / 17.34 MB, free: 5.742 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8165/0.8165, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 62.34 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1518, allocations: 80.92 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002319/0.1541, allocations: 1.261 MB / 0.6665 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005404/0.1547, allocations: 295.4 kB / 0.6668 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.338e-05/0.1547, allocations: 0 / 0.6668 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/0.1548, allocations: 3.938 kB / 0.6668 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.024e-05/0.1548, allocations: 4 kB / 0.6668 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.1551, allocations: 51.75 kB / 0.6669 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.1552, allocations: 15.92 kB / 0.6669 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.301e-05/0.1552, allocations: 11.92 kB / 0.6669 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.707e-05/0.1553, allocations: 11.94 kB / 0.6669 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.52e-05/0.1553, allocations: 0 / 0.6669 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.1553, allocations: 4 kB / 0.6669 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.1555, allocations: 59.94 kB / 0.667 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.1555, allocations: 0 / 0.667 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.1555, allocations: 7.938 kB / 0.667 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.1557, allocations: 55.83 kB / 0.667 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1557, allocations: 0 / 0.667 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1557, allocations: 0 / 0.667 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.1557, allocations: 0 / 0.667 GB, free: 4.012 MB / 0.4981 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.0003862/0.1561, allocations: 339.4 kB / 0.6673 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1561, allocations: 13.11 kB / 0.6674 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/0.1563, allocations: 16.91 kB / 0.6674 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.1565, allocations: 164.4 kB / 0.6675 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1565, allocations: 4.375 kB / 0.6675 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.1565, allocations: 384 / 0.6675 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.1566, allocations: 42.25 kB / 0.6676 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1566, allocations: 192 / 0.6676 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1566, allocations: 3.938 kB / 0.6676 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1567, allocations: 3.938 kB / 0.6676 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.339e-05/0.1567, allocations: 23.98 kB / 0.6676 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.1569, allocations: 153.7 kB / 0.6678 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.1588, allocations: 266.4 kB / 0.668 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.184e-05/0.1588, allocations: 20.86 kB / 0.668 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.1588, allocations: 0 / 0.668 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.1589, allocations: 34.56 kB / 0.6681 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1589, allocations: 0 / 0.6681 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001714/0.1591, allocations: 73.55 kB / 0.6681 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.1591, allocations: 51.41 kB / 0.6682 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.021e-05/0.1592, allocations: 93.8 kB / 0.6683 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.1592, allocations: 29.7 kB / 0.6683 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.1592, allocations: 80.14 kB / 0.6684 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.1593, allocations: 11.94 kB / 0.6684 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.1593, allocations: 17.72 kB / 0.6684 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1594, allocations: 318.8 kB / 0.6687 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.1595, allocations: 7.938 kB / 0.6687 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.977e-05/0.1595, allocations: 12 kB / 0.6687 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.831e-05/0.1595, allocations: 29.06 kB / 0.6688 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1596, allocations: 0 / 0.6688 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.53e-05/0.1596, allocations: 53.69 kB / 0.6688 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1597, allocations: 9.875 kB / 0.6688 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1597, allocations: 7.938 kB / 0.6688 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1597, allocations: 3.984 kB / 0.6688 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.692e-05/0.1598, allocations: 4 kB / 0.6688 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1598, allocations: 0 / 0.6688 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.1598, allocations: 3.906 kB / 0.6688 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1598, allocations: 4 kB / 0.6688 GB, free: 1.93 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.412e-05/0.1599, allocations: 113.8 kB / 0.6689 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.1599, allocations: 0 / 0.6689 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.16, allocations: 15.44 kB / 0.669 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.16, allocations: 7.938 kB / 0.669 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.16, allocations: 0 / 0.669 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.16, allocations: 0 / 0.669 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.1601, allocations: 157.7 kB / 0.6691 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1601, allocations: 0 / 0.6691 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.1602, allocations: 11.98 kB / 0.6691 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1602, allocations: 0 / 0.6691 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.1602, allocations: 3.938 kB / 0.6691 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1602, allocations: 4 kB / 0.6691 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1602, allocations: 0 / 0.6691 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.1603, allocations: 81.12 kB / 0.6692 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.809e-05/0.1604, allocations: 81.11 kB / 0.6693 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.1604, allocations: 3.938 kB / 0.6693 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.429e-05/0.1605, allocations: 3.984 kB / 0.6693 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.1605, allocations: 4 kB / 0.6693 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.1605, allocations: 0 / 0.6693 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.068e-05/0.1605, allocations: 83.22 kB / 0.6694 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1605, allocations: 0 / 0.6694 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001905/0.1607, allocations: 12.09 kB / 0.6694 GB, free: 1.254 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.0001088/0.1609, allocations: 102.9 kB / 0.6695 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.161, allocations: 23.98 kB / 0.6695 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.161, allocations: 7.938 kB / 0.6695 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-05/0.161, allocations: 8 kB / 0.6695 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.1613, allocations: 15.92 kB / 0.6695 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.1616, allocations: 160.2 kB / 0.6697 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.1619, allocations: 0.6757 MB / 0.6704 GB, free: 208 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.1619, allocations: 7.438 kB / 0.6704 GB, free: 200 kB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1619, allocations: 0 / 0.6704 GB, free: 200 kB / 0.4981 GB Notification: Performance of Templates: time 0.001764/0.1637, allocations: 0.5349 MB / 0.6709 GB, free: 15.66 MB / 0.5137 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)