Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00183/0.00183, allocations: 182.8 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/package.mo): time 0.8553/0.8553, allocations: 132.2 MB / 148.9 MB, free: 12.15 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.449/1.449, allocations: 222.9 MB / 403.4 MB, free: 7.07 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.001091/0.001091, allocations: 109.5 kB / 484.4 MB, free: 8.727 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 47.92 kB / 0.5618 GB, free: 71.09 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1464, allocations: 80.2 MB / 0.6402 GB, free: 6.816 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002975/0.1494, allocations: 1.56 MB / 0.6417 GB, free: 5.238 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1507, allocations: 0.8236 MB / 0.6425 GB, free: 4.41 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.1507, allocations: 0 / 0.6425 GB, free: 4.41 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.047e-05/0.1508, allocations: 0 / 0.6425 GB, free: 4.41 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.824e-05/0.1508, allocations: 3.938 kB / 0.6425 GB, free: 4.406 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.1513, allocations: 119.5 kB / 0.6426 GB, free: 4.289 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.689e-05/0.1514, allocations: 47.8 kB / 0.6427 GB, free: 4.242 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.189e-05/0.1515, allocations: 19.98 kB / 0.6427 GB, free: 4.223 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.713e-05/0.1515, allocations: 23.91 kB / 0.6427 GB, free: 4.199 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.927e-05/0.1516, allocations: 15.92 kB / 0.6427 GB, free: 4.184 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1516, allocations: 4 kB / 0.6427 GB, free: 4.18 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.1519, allocations: 171.7 kB / 0.6429 GB, free: 4.012 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.152, allocations: 15.97 kB / 0.6429 GB, free: 3.996 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.152, allocations: 19.86 kB / 0.6429 GB, free: 3.977 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.1523, allocations: 155.8 kB / 0.6431 GB, free: 3.824 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1523, allocations: 0 / 0.6431 GB, free: 3.824 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1523, allocations: 4 kB / 0.6431 GB, free: 3.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.1523, allocations: 0 / 0.6431 GB, free: 3.82 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.0005625/0.1529, allocations: 399.2 kB / 0.6434 GB, free: 3.379 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1529, allocations: 8.031 kB / 0.6435 GB, free: 3.371 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.153, allocations: 12.84 kB / 0.6435 GB, free: 3.359 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.1531, allocations: 168.3 kB / 0.6436 GB, free: 3.156 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1531, allocations: 384 / 0.6436 GB, free: 3.156 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.1531, allocations: 4.375 kB / 0.6436 GB, free: 3.152 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.1534, allocations: 78.14 kB / 0.6437 GB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1534, allocations: 192 / 0.6437 GB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1534, allocations: 7.938 kB / 0.6437 GB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1534, allocations: 0 / 0.6437 GB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.1537, allocations: 71.92 kB / 0.6438 GB, free: 2.992 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.1541, allocations: 280.7 kB / 0.644 GB, free: 2.668 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.1543, allocations: 70.41 kB / 0.6441 GB, free: 2.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.1545, allocations: 36.92 kB / 0.6442 GB, free: 2.551 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.1547, allocations: 89.09 kB / 0.6442 GB, free: 2.445 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.1547, allocations: 34.56 kB / 0.6443 GB, free: 2.402 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1547, allocations: 0 / 0.6443 GB, free: 2.402 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005449/0.1552, allocations: 133.5 kB / 0.6444 GB, free: 2.266 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.1553, allocations: 55.34 kB / 0.6444 GB, free: 2.199 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.528e-05/0.1554, allocations: 113.8 kB / 0.6446 GB, free: 2.078 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1554, allocations: 29.7 kB / 0.6446 GB, free: 2.043 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.1554, allocations: 92.12 kB / 0.6447 GB, free: 1.949 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.1555, allocations: 11.97 kB / 0.6447 GB, free: 1.938 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.1555, allocations: 17.72 kB / 0.6447 GB, free: 1.914 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.1556, allocations: 314.8 kB / 0.645 GB, free: 1.598 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.1558, allocations: 31.95 kB / 0.645 GB, free: 1.566 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.1559, allocations: 31.97 kB / 0.6451 GB, free: 1.535 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.1562, allocations: 73.06 kB / 0.6451 GB, free: 1.461 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1562, allocations: 0 / 0.6451 GB, free: 1.461 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003251/0.1565, allocations: 101.5 kB / 0.6452 GB, free: 1.355 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1566, allocations: 9.031 kB / 0.6452 GB, free: 1.348 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.1566, allocations: 0 / 0.6452 GB, free: 1.348 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1566, allocations: 4 kB / 0.6452 GB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.1567, allocations: 19.97 kB / 0.6453 GB, free: 1.324 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1567, allocations: 0 / 0.6453 GB, free: 1.324 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.1568, allocations: 15.98 kB / 0.6453 GB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.1569, allocations: 0 / 0.6453 GB, free: 1.309 MB / 442.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.791e-05/0.1569, allocations: 115.1 kB / 0.6454 GB, free: 1.188 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.157, allocations: 3.906 kB / 0.6454 GB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003946/0.1574, allocations: 109.5 kB / 0.6455 GB, free: 1.066 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.1574, allocations: 3.984 kB / 0.6455 GB, free: 1.062 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1574, allocations: 8 kB / 0.6455 GB, free: 1.055 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1574, allocations: 0 / 0.6455 GB, free: 1.055 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.1576, allocations: 173.5 kB / 0.6457 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1576, allocations: 3.938 kB / 0.6457 GB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.1577, allocations: 27.91 kB / 0.6457 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1577, allocations: 0 / 0.6457 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1578, allocations: 0 / 0.6457 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1578, allocations: 0 / 0.6457 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1578, allocations: 0 / 0.6457 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007986/0.1586, allocations: 0.7824 MB / 0.6465 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.1586, allocations: 81.05 kB / 0.6465 GB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.1587, allocations: 4 kB / 0.6465 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.1588, allocations: 11.98 kB / 0.6466 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.1588, allocations: 11.92 kB / 0.6466 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.1588, allocations: 0 / 0.6466 GB, free: 15.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.185e-05/0.1589, allocations: 95.27 kB / 0.6467 GB, free: 15.75 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1589, allocations: 0 / 0.6467 GB, free: 15.75 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000373/0.1593, allocations: 32 kB / 0.6467 GB, free: 15.71 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.0002065/0.1595, allocations: 127.2 kB / 0.6468 GB, free: 15.58 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003392/0.1598, allocations: 75.86 kB / 0.6469 GB, free: 15.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1599, allocations: 0 / 0.6469 GB, free: 15.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.16, allocations: 31.97 kB / 0.6469 GB, free: 15.47 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.1603, allocations: 11.98 kB / 0.6469 GB, free: 15.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/0.1608, allocations: 271.8 kB / 0.6472 GB, free: 15.16 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.161, allocations: 0.6809 MB / 0.6479 GB, free: 14.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.481e-05/0.1611, allocations: 4 kB / 0.6479 GB, free: 14.45 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.1611, allocations: 7.438 kB / 0.6479 GB, free: 14.44 MB / 458.7 MB Notification: Performance of SimCode: time 3.2e-07/0.1611, allocations: 0 / 0.6479 GB, free: 14.44 MB / 458.7 MB Notification: Performance of Templates: time 0.003428/0.1646, allocations: 1.252 MB / 0.6491 GB, free: 13.2 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)