Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001564/0.001564, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7737/0.7737, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 65.91 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1544, allocations: 80.21 MB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002349/0.1568, allocations: 1.259 MB / 0.6616 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.1582, allocations: 0.8733 MB / 0.6624 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.1583, allocations: 0 / 0.6624 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.1583, allocations: 3.984 kB / 0.6624 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.83e-05/0.1584, allocations: 7.922 kB / 0.6624 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006979/0.1591, allocations: 195.3 kB / 0.6626 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.01e-05/0.1592, allocations: 19.94 kB / 0.6626 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.1592, allocations: 3.984 kB / 0.6626 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.689e-05/0.1592, allocations: 7.938 kB / 0.6626 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.799e-05/0.1593, allocations: 4 kB / 0.6626 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1593, allocations: 0 / 0.6626 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004051/0.1597, allocations: 247.1 kB / 0.6629 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.1598, allocations: 3.984 kB / 0.6629 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.1598, allocations: 11.94 kB / 0.6629 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.1601, allocations: 139.8 kB / 0.663 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1601, allocations: 4 kB / 0.663 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1601, allocations: 3.938 kB / 0.663 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.1601, allocations: 0 / 0.663 GB, free: 7.461 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.0004122/0.1605, allocations: 363.5 kB / 0.6634 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1605, allocations: 12.03 kB / 0.6634 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.1607, allocations: 8.922 kB / 0.6634 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1608, allocations: 164.3 kB / 0.6636 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1609, allocations: 384 / 0.6636 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.1609, allocations: 16.11 kB / 0.6636 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.161, allocations: 41.69 kB / 0.6636 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.161, allocations: 0 / 0.6636 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1611, allocations: 4 kB / 0.6636 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1611, allocations: 3.938 kB / 0.6636 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.405e-05/0.1611, allocations: 15.98 kB / 0.6636 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.1613, allocations: 157.6 kB / 0.6638 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009263/0.1622, allocations: 138.6 kB / 0.6639 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.1623, allocations: 24.78 kB / 0.6639 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.1624, allocations: 85.11 kB / 0.664 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.1624, allocations: 30.56 kB / 0.6641 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1625, allocations: 0 / 0.6641 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001968/0.1627, allocations: 69.62 kB / 0.6641 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.1627, allocations: 55.39 kB / 0.6642 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.579e-05/0.1628, allocations: 89.86 kB / 0.6643 GB, free: 6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1628, allocations: 29.7 kB / 0.6643 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.1628, allocations: 80.14 kB / 0.6644 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.1629, allocations: 15.75 kB / 0.6644 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.1629, allocations: 13.72 kB / 0.6644 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.163, allocations: 326.9 kB / 0.6647 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.362e-05/0.1631, allocations: 4 kB / 0.6647 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.957e-05/0.1631, allocations: 12 kB / 0.6647 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.353e-05/0.1632, allocations: 28.78 kB / 0.6647 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1632, allocations: 0 / 0.6647 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.643e-05/0.1633, allocations: 57.62 kB / 0.6648 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1633, allocations: 8 kB / 0.6648 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1633, allocations: 0 / 0.6648 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1633, allocations: 0 / 0.6648 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.793e-05/0.1634, allocations: 4 kB / 0.6648 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.1634, allocations: 8 kB / 0.6648 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.1634, allocations: 0 / 0.6648 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1634, allocations: 0 / 0.6648 GB, free: 5.391 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 8.363e-05/0.1635, allocations: 114.7 kB / 0.6649 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.1635, allocations: 4.266 kB / 0.6649 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.1638, allocations: 81.11 kB / 0.665 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1638, allocations: 3.938 kB / 0.665 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1638, allocations: 7.984 kB / 0.665 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1638, allocations: 0 / 0.665 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.1639, allocations: 157.6 kB / 0.6652 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.164, allocations: 0 / 0.6652 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.632e-05/0.164, allocations: 12 kB / 0.6652 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.164, allocations: 0 / 0.6652 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.164, allocations: 3.984 kB / 0.6652 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.1641, allocations: 8 kB / 0.6652 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1641, allocations: 0 / 0.6652 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.1642, allocations: 96.97 kB / 0.6653 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.1643, allocations: 77.11 kB / 0.6654 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.1643, allocations: 0 / 0.6654 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.852e-05/0.1643, allocations: 4 kB / 0.6654 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.1644, allocations: 3.984 kB / 0.6654 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.1644, allocations: 8 kB / 0.6654 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.568e-05/0.1644, allocations: 79.28 kB / 0.6655 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1644, allocations: 0 / 0.6655 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002512/0.1647, allocations: 44 kB / 0.6655 GB, free: 4.59 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 (5): * Single equations (assignments): 5 * 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.0003711/0.165, allocations: 172.2 kB / 0.6657 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.1652, allocations: 27.94 kB / 0.6657 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1652, allocations: 4.094 kB / 0.6657 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.542e-05/0.1652, allocations: 15.98 kB / 0.6657 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.1654, allocations: 16.3 kB / 0.6657 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.1657, allocations: 144.3 kB / 0.6659 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.166, allocations: 0.6768 MB / 0.6665 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.166, allocations: 15.44 kB / 0.6665 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of SimCode: time 3.627e-06/0.1661, allocations: 0 / 0.6665 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of Templates: time 0.003561/0.1696, allocations: 1.054 MB / 0.6676 GB, free: 2.422 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)