Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001272/0.001272, 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.7523/0.7523, allocations: 133.4 MB / 150.1 MB, free: 11.16 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.439/1.439, allocations: 222.9 MB / 404.7 MB, free: 6.031 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.001054/0.001054, allocations: 94.28 kB / 485.9 MB, free: 7.164 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 55.92 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1376, allocations: 80.41 MB / 0.6421 GB, free: 5.441 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002341/0.14, allocations: 1.34 MB / 0.6434 GB, free: 4.082 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.1413, allocations: 0.8512 MB / 0.6443 GB, free: 3.227 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.424e-05/0.1413, allocations: 0 / 0.6443 GB, free: 3.227 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/0.1413, allocations: 0 / 0.6443 GB, free: 3.227 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.752e-05/0.1414, allocations: 3.938 kB / 0.6443 GB, free: 3.223 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.1418, allocations: 119.5 kB / 0.6444 GB, free: 3.105 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.109e-05/0.1418, allocations: 23.92 kB / 0.6444 GB, free: 3.082 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.1419, allocations: 4 kB / 0.6444 GB, free: 3.078 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.238e-05/0.1419, allocations: 7.984 kB / 0.6444 GB, free: 3.07 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.135e-05/0.142, allocations: 11.94 kB / 0.6444 GB, free: 3.059 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.142, allocations: 4 kB / 0.6444 GB, free: 3.055 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.1423, allocations: 171.7 kB / 0.6446 GB, free: 2.887 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.1423, allocations: 0 / 0.6446 GB, free: 2.887 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.1424, allocations: 11.94 kB / 0.6446 GB, free: 2.875 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.1426, allocations: 128 kB / 0.6447 GB, free: 2.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1426, allocations: 0 / 0.6447 GB, free: 2.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1426, allocations: 0 / 0.6447 GB, free: 2.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.105e-06/0.1426, allocations: 7.938 kB / 0.6447 GB, free: 2.742 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.0004419/0.1431, allocations: 363.4 kB / 0.6451 GB, free: 2.336 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1431, allocations: 12.03 kB / 0.6451 GB, free: 2.324 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.1432, allocations: 4.922 kB / 0.6451 GB, free: 2.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.1433, allocations: 164.4 kB / 0.6453 GB, free: 2.121 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-05/0.1434, allocations: 34.25 kB / 0.6453 GB, free: 2.082 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.1434, allocations: 4.375 kB / 0.6453 GB, free: 2.078 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.1435, allocations: 42.25 kB / 0.6453 GB, free: 2.031 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1435, allocations: 3.938 kB / 0.6453 GB, free: 2.027 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.1436, allocations: 0 / 0.6453 GB, free: 2.027 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1436, allocations: 0 / 0.6453 GB, free: 2.027 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1437, allocations: 23.92 kB / 0.6454 GB, free: 2.004 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.1438, allocations: 157.6 kB / 0.6455 GB, free: 1.801 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.144, allocations: 50.61 kB / 0.6456 GB, free: 1.742 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.1441, allocations: 24.88 kB / 0.6456 GB, free: 1.715 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.1444, allocations: 174.2 kB / 0.6458 GB, free: 1.508 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.1444, allocations: 34.56 kB / 0.6458 GB, free: 1.465 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1444, allocations: 4 kB / 0.6458 GB, free: 1.461 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002295/0.1447, allocations: 73.55 kB / 0.6459 GB, free: 1.383 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.1447, allocations: 51.41 kB / 0.6459 GB, free: 1.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.433e-05/0.1448, allocations: 97.86 kB / 0.646 GB, free: 1.215 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1448, allocations: 25.7 kB / 0.646 GB, free: 1.184 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.574e-05/0.1448, allocations: 80.14 kB / 0.6461 GB, free: 1.102 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.1449, allocations: 11.8 kB / 0.6461 GB, free: 1.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.1449, allocations: 17.72 kB / 0.6461 GB, free: 1.066 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.145, allocations: 318.8 kB / 0.6464 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.002e-05/0.1451, allocations: 11.98 kB / 0.6465 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.768e-05/0.1451, allocations: 4 kB / 0.6465 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.996e-05/0.1452, allocations: 32.84 kB / 0.6465 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1452, allocations: 0 / 0.6465 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000125/0.1453, allocations: 54.09 kB / 0.6465 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1454, allocations: 11.92 kB / 0.6466 GB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1454, allocations: 8 kB / 0.6466 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1454, allocations: 4.047 kB / 0.6466 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.867e-05/0.1454, allocations: 7.984 kB / 0.6466 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.1455, allocations: 0 / 0.6466 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.1455, allocations: 11.94 kB / 0.6466 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.1455, allocations: 0 / 0.6466 GB, free: 0.5938 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 6.4e-05/0.1456, allocations: 109.8 kB / 0.6467 GB, free: 488 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.1456, allocations: 7.922 kB / 0.6467 GB, free: 480 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.1458, allocations: 73.11 kB / 0.6468 GB, free: 400 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1458, allocations: 0 / 0.6468 GB, free: 400 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.1458, allocations: 3.938 kB / 0.6468 GB, free: 396 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1458, allocations: 0 / 0.6468 GB, free: 396 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.1459, allocations: 161.6 kB / 0.6469 GB, free: 184 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1459, allocations: 0 / 0.6469 GB, free: 184 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.146, allocations: 12 kB / 0.6469 GB, free: 172 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.146, allocations: 3.938 kB / 0.6469 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.146, allocations: 0 / 0.6469 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.146, allocations: 4 kB / 0.6469 GB, free: 164 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.146, allocations: 11.92 kB / 0.647 GB, free: 152 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.1464, allocations: 0.6318 MB / 0.6476 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.1465, allocations: 85.09 kB / 0.6476 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.1465, allocations: 0 / 0.6476 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.912e-05/0.1466, allocations: 4 kB / 0.6477 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.1466, allocations: 11.98 kB / 0.6477 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.1466, allocations: 0 / 0.6477 GB, free: 15.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.299e-05/0.1467, allocations: 83.28 kB / 0.6477 GB, free: 15.26 MB / 458.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1467, allocations: 0 / 0.6477 GB, free: 15.26 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003148/0.147, allocations: 35.94 kB / 0.6478 GB, free: 15.22 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 (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.0002071/0.1472, allocations: 131.2 kB / 0.6479 GB, free: 15.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.1474, allocations: 35.91 kB / 0.6479 GB, free: 15.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1474, allocations: 4 kB / 0.6479 GB, free: 15.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.002e-05/0.1474, allocations: 12 kB / 0.648 GB, free: 15.04 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.1477, allocations: 14.22 kB / 0.648 GB, free: 15.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.148, allocations: 243.7 kB / 0.6482 GB, free: 14.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.1483, allocations: 0.677 MB / 0.6489 GB, free: 14.04 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.636e-05/0.1484, allocations: 8 kB / 0.6489 GB, free: 14.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.1484, allocations: 11.44 kB / 0.6489 GB, free: 14.02 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1484, allocations: 0 / 0.6489 GB, free: 14.02 MB / 458.7 MB Notification: Performance of Templates: time 0.003017/0.1514, allocations: 1.032 MB / 0.6499 GB, free: 13 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)