Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7805/0.7805, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 404.7 MB, free: 6.055 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 103.4 kB / 485.9 MB, free: 7.18 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 55.91 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1581, allocations: 80.43 MB / 0.6421 GB, free: 5.43 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003059/0.1612, allocations: 1.544 MB / 0.6436 GB, free: 3.867 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1626, allocations: 0.8278 MB / 0.6445 GB, free: 3.035 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/0.1627, allocations: 0 / 0.6445 GB, free: 3.035 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.38e-05/0.1627, allocations: 3.938 kB / 0.6445 GB, free: 3.031 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.269e-05/0.1628, allocations: 7.938 kB / 0.6445 GB, free: 3.023 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.1634, allocations: 111.6 kB / 0.6446 GB, free: 2.914 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.329e-05/0.1635, allocations: 55.72 kB / 0.6446 GB, free: 2.859 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1636, allocations: 19.98 kB / 0.6446 GB, free: 2.84 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.145e-05/0.1636, allocations: 19.92 kB / 0.6447 GB, free: 2.82 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.518e-05/0.1637, allocations: 23.92 kB / 0.6447 GB, free: 2.797 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1637, allocations: 0 / 0.6447 GB, free: 2.797 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.1641, allocations: 179.7 kB / 0.6449 GB, free: 2.621 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.1641, allocations: 7.984 kB / 0.6449 GB, free: 2.613 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.1642, allocations: 19.88 kB / 0.6449 GB, free: 2.594 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.1645, allocations: 151.8 kB / 0.645 GB, free: 2.445 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1645, allocations: 0 / 0.645 GB, free: 2.445 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1645, allocations: 0 / 0.645 GB, free: 2.445 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1645, allocations: 0 / 0.645 GB, free: 2.445 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006123/0.1651, allocations: 395.2 kB / 0.6454 GB, free: 2.008 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1652, allocations: 16.03 kB / 0.6454 GB, free: 1.992 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.1652, allocations: 4.844 kB / 0.6454 GB, free: 1.988 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1654, allocations: 168.3 kB / 0.6456 GB, free: 1.785 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1654, allocations: 8.375 kB / 0.6456 GB, free: 1.777 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.1654, allocations: 384 / 0.6456 GB, free: 1.777 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.1657, allocations: 74.2 kB / 0.6457 GB, free: 1.699 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1657, allocations: 4.125 kB / 0.6457 GB, free: 1.695 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1657, allocations: 3.938 kB / 0.6457 GB, free: 1.691 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.1657, allocations: 8 kB / 0.6457 GB, free: 1.684 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.166, allocations: 71.92 kB / 0.6457 GB, free: 1.613 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.1664, allocations: 292.6 kB / 0.646 GB, free: 1.277 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.1666, allocations: 54.55 kB / 0.6461 GB, free: 1.215 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.1668, allocations: 40.91 kB / 0.6461 GB, free: 1.172 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.167, allocations: 93.03 kB / 0.6462 GB, free: 1.062 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.167, allocations: 30.56 kB / 0.6462 GB, free: 1.023 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 4.137e-06/0.167, allocations: 7.984 kB / 0.6462 GB, free: 1.016 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005504/0.1676, allocations: 137.4 kB / 0.6464 GB, free: 0.875 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.1676, allocations: 51.41 kB / 0.6464 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.664e-05/0.1677, allocations: 113.8 kB / 0.6465 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.1678, allocations: 25.7 kB / 0.6466 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.1678, allocations: 96.14 kB / 0.6466 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1678, allocations: 7.891 kB / 0.6467 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.1679, allocations: 13.72 kB / 0.6467 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.168, allocations: 318.8 kB / 0.647 GB, free: 220 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.1681, allocations: 35.95 kB / 0.647 GB, free: 184 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.1683, allocations: 31.97 kB / 0.647 GB, free: 152 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.1686, allocations: 72.72 kB / 0.6471 GB, free: 76 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1686, allocations: 0 / 0.6471 GB, free: 76 kB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003392/0.1689, allocations: 97.53 kB / 0.6472 GB, free: 15.97 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.169, allocations: 12 kB / 0.6472 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.169, allocations: 0 / 0.6472 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.169, allocations: 0 / 0.6472 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1691, allocations: 15.97 kB / 0.6472 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1691, allocations: 4 kB / 0.6472 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.491e-05/0.1692, allocations: 7.984 kB / 0.6472 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1692, allocations: 4 kB / 0.6472 GB, free: 15.93 MB / 458.7 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 (3): * Single equations (assignments): 3 * 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.158e-05/0.1693, allocations: 119.1 kB / 0.6474 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.1693, allocations: 7.906 kB / 0.6474 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.1697, allocations: 109.5 kB / 0.6475 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1697, allocations: 0 / 0.6475 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1697, allocations: 3.984 kB / 0.6475 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1697, allocations: 0 / 0.6475 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.1699, allocations: 169.6 kB / 0.6476 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1699, allocations: 4 kB / 0.6476 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/0.17, allocations: 19.97 kB / 0.6477 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.17, allocations: 0 / 0.6477 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.17, allocations: 3.938 kB / 0.6477 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.17, allocations: 0 / 0.6477 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1701, allocations: 7.938 kB / 0.6477 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007094/0.1708, allocations: 0.7785 MB / 0.6484 GB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.1708, allocations: 85.05 kB / 0.6485 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.1708, allocations: 0 / 0.6485 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.171, allocations: 11.98 kB / 0.6485 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.171, allocations: 20.34 kB / 0.6485 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.171, allocations: 0 / 0.6485 GB, free: 14.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.854e-05/0.1711, allocations: 95.7 kB / 0.6486 GB, free: 14.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1711, allocations: 0 / 0.6486 GB, free: 14.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.1715, allocations: 28 kB / 0.6487 GB, free: 14.34 MB / 458.7 MB 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 (3): * Single equations (assignments): 3 * 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.0002205/0.1717, allocations: 131.2 kB / 0.6488 GB, free: 14.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003573/0.1721, allocations: 79.89 kB / 0.6489 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1721, allocations: 0 / 0.6489 GB, free: 14.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.1722, allocations: 35.97 kB / 0.6489 GB, free: 14.08 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.1726, allocations: 4 kB / 0.6489 GB, free: 14.08 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.173, allocations: 276 kB / 0.6492 GB, free: 13.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.1733, allocations: 0.6809 MB / 0.6498 GB, free: 13.06 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.465e-05/0.1733, allocations: 4 kB / 0.6498 GB, free: 13.06 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.1733, allocations: 11.44 kB / 0.6498 GB, free: 13.05 MB / 458.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1733, allocations: 4 kB / 0.6498 GB, free: 13.04 MB / 458.7 MB Notification: Performance of Templates: time 0.00357/0.1769, allocations: 1.237 MB / 0.6511 GB, free: 11.82 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)