Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 182.6 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.7818/0.7818, allocations: 132.2 MB / 148.9 MB, free: 12.13 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.556/1.556, allocations: 222.9 MB / 403.4 MB, free: 7.066 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.001084/0.001084, allocations: 111.3 kB / 484.4 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 55.92 kB / 0.5619 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1432, allocations: 80.2 MB / 0.6402 GB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002861/0.1461, allocations: 1.338 MB / 0.6415 GB, free: 5.43 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1474, allocations: 0.8508 MB / 0.6423 GB, free: 4.574 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.1475, allocations: 0 / 0.6423 GB, free: 4.574 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.1475, allocations: 0 / 0.6423 GB, free: 4.574 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.858e-05/0.1476, allocations: 11.91 kB / 0.6423 GB, free: 4.562 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.148, allocations: 107.6 kB / 0.6424 GB, free: 4.457 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.039e-05/0.1481, allocations: 27.86 kB / 0.6425 GB, free: 4.43 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.1481, allocations: 4 kB / 0.6425 GB, free: 4.426 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.088e-05/0.1482, allocations: 8 kB / 0.6425 GB, free: 4.418 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.912e-05/0.1482, allocations: 15.91 kB / 0.6425 GB, free: 4.402 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1483, allocations: 4 kB / 0.6425 GB, free: 4.398 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.1486, allocations: 167.7 kB / 0.6426 GB, free: 4.234 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.1486, allocations: 3.984 kB / 0.6426 GB, free: 4.23 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.1486, allocations: 15.92 kB / 0.6427 GB, free: 4.215 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.1489, allocations: 120 kB / 0.6428 GB, free: 4.098 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.149, allocations: 0 / 0.6428 GB, free: 4.098 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.149, allocations: 0 / 0.6428 GB, free: 4.098 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.297e-06/0.149, allocations: 0 / 0.6428 GB, free: 4.098 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004544/0.1494, allocations: 367.3 kB / 0.6431 GB, free: 3.688 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1495, allocations: 12.03 kB / 0.6431 GB, free: 3.676 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.1495, allocations: 0.9375 kB / 0.6431 GB, free: 3.676 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.1497, allocations: 168.3 kB / 0.6433 GB, free: 3.473 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.998e-05/0.1497, allocations: 34.27 kB / 0.6433 GB, free: 3.434 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.1498, allocations: 4.375 kB / 0.6433 GB, free: 3.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.1499, allocations: 46.23 kB / 0.6434 GB, free: 3.379 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1499, allocations: 3.938 kB / 0.6434 GB, free: 3.375 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.1499, allocations: 0 / 0.6434 GB, free: 3.375 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1499, allocations: 0 / 0.6434 GB, free: 3.375 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.1501, allocations: 19.98 kB / 0.6434 GB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.1502, allocations: 161.6 kB / 0.6436 GB, free: 3.148 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.1504, allocations: 54.5 kB / 0.6436 GB, free: 3.086 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.1505, allocations: 8.859 kB / 0.6436 GB, free: 3.074 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002741/0.1508, allocations: 186.3 kB / 0.6438 GB, free: 2.855 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.1508, allocations: 34.56 kB / 0.6438 GB, free: 2.812 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 3.757e-06/0.1508, allocations: 7.984 kB / 0.6438 GB, free: 2.805 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002365/0.1511, allocations: 65.61 kB / 0.6439 GB, free: 2.734 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.1511, allocations: 59.34 kB / 0.644 GB, free: 2.664 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.1512, allocations: 97.84 kB / 0.644 GB, free: 2.559 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1512, allocations: 29.7 kB / 0.6441 GB, free: 2.523 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.1513, allocations: 80.14 kB / 0.6442 GB, free: 2.441 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.1513, allocations: 7.812 kB / 0.6442 GB, free: 2.434 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.1513, allocations: 21.72 kB / 0.6442 GB, free: 2.406 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1515, allocations: 314.8 kB / 0.6445 GB, free: 2.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.8e-05/0.1515, allocations: 8 kB / 0.6445 GB, free: 2.082 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.175e-05/0.1516, allocations: 11.98 kB / 0.6445 GB, free: 2.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.421e-05/0.1517, allocations: 32.84 kB / 0.6445 GB, free: 2.035 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1517, allocations: 0 / 0.6445 GB, free: 2.035 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001292/0.1518, allocations: 53.62 kB / 0.6446 GB, free: 1.977 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1518, allocations: 13.19 kB / 0.6446 GB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1518, allocations: 4 kB / 0.6446 GB, free: 1.961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1519, allocations: 0 / 0.6446 GB, free: 1.961 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.219e-05/0.1519, allocations: 7.984 kB / 0.6446 GB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1519, allocations: 0 / 0.6446 GB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.364e-05/0.152, allocations: 11.94 kB / 0.6446 GB, free: 1.941 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.152, allocations: 0 / 0.6446 GB, free: 1.941 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 (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 7.245e-05/0.1521, allocations: 115.2 kB / 0.6447 GB, free: 1.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.1521, allocations: 3.938 kB / 0.6447 GB, free: 1.816 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.1522, allocations: 69.17 kB / 0.6448 GB, free: 1.738 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1523, allocations: 3.938 kB / 0.6448 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1523, allocations: 0 / 0.6448 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1523, allocations: 7.922 kB / 0.6448 GB, free: 1.727 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.1524, allocations: 157.6 kB / 0.645 GB, free: 1.523 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1524, allocations: 0 / 0.645 GB, free: 1.523 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.1524, allocations: 8 kB / 0.645 GB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1525, allocations: 3.938 kB / 0.645 GB, free: 1.512 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.1525, allocations: 3.938 kB / 0.645 GB, free: 1.508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1525, allocations: 4 kB / 0.645 GB, free: 1.504 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1525, allocations: 4 kB / 0.645 GB, free: 1.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.1529, allocations: 0.6401 MB / 0.6456 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.153, allocations: 85.09 kB / 0.6457 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.153, allocations: 4 kB / 0.6457 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.916e-05/0.1531, allocations: 4 kB / 0.6457 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.1531, allocations: 8.031 kB / 0.6457 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1531, allocations: 0 / 0.6457 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.264e-05/0.1532, allocations: 83.27 kB / 0.6458 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1532, allocations: 0 / 0.6458 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003185/0.1535, allocations: 39.94 kB / 0.6458 GB, free: 0.5625 MB / 442.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 (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.0002225/0.1537, allocations: 131.2 kB / 0.6459 GB, free: 436 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.1539, allocations: 35.86 kB / 0.646 GB, free: 400 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1539, allocations: 0 / 0.646 GB, free: 400 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.228e-05/0.1539, allocations: 15.98 kB / 0.646 GB, free: 384 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.1542, allocations: 4 kB / 0.646 GB, free: 380 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.1545, allocations: 243.7 kB / 0.6462 GB, free: 96 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.1548, allocations: 0.6848 MB / 0.6469 GB, free: 15.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.538e-05/0.1548, allocations: 4 kB / 0.6469 GB, free: 15.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.724e-05/0.1548, allocations: 7.438 kB / 0.6469 GB, free: 15.37 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1548, allocations: 0 / 0.6469 GB, free: 15.37 MB / 458.7 MB Notification: Performance of Templates: time 0.00291/0.1578, allocations: 1.025 MB / 0.6479 GB, free: 14.35 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)