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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 107.1 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.001186/0.001186, allocations: 191.2 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8331/0.8331, allocations: 135.1 MB / 426.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002486/0.002486, allocations: 64.06 kB / 0.5863 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1464, allocations: 80.92 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002442/0.1489, allocations: 1.269 MB / 0.6665 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1502, allocations: 0.8345 MB / 0.6674 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.34e-05/0.1503, allocations: 0 / 0.6674 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.1503, allocations: 0 / 0.6674 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.726e-05/0.1504, allocations: 7.938 kB / 0.6674 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.1509, allocations: 131.4 kB / 0.6675 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.983e-05/0.151, allocations: 27.92 kB / 0.6675 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.151, allocations: 0 / 0.6675 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.1511, allocations: 15.94 kB / 0.6675 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.775e-05/0.1512, allocations: 7.984 kB / 0.6675 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1512, allocations: 0 / 0.6675 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.1515, allocations: 171.7 kB / 0.6677 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.1516, allocations: 4 kB / 0.6677 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.1516, allocations: 11.92 kB / 0.6677 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.1518, allocations: 119.8 kB / 0.6678 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1519, allocations: 0 / 0.6678 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1519, allocations: 0 / 0.6678 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.1519, allocations: 7.984 kB / 0.6678 GB, free: 3.172 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.0004545/0.1523, allocations: 359.4 kB / 0.6682 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1524, allocations: 13.11 kB / 0.6682 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.1524, allocations: 0.9375 kB / 0.6682 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.1526, allocations: 176.2 kB / 0.6684 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.1526, allocations: 34.27 kB / 0.6684 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.1527, allocations: 8.312 kB / 0.6684 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1528, allocations: 42.25 kB / 0.6684 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1528, allocations: 11.92 kB / 0.6684 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1528, allocations: 0 / 0.6684 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.1528, allocations: 0 / 0.6684 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.434e-05/0.1529, allocations: 19.98 kB / 0.6685 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.1531, allocations: 153.7 kB / 0.6686 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.1533, allocations: 50.55 kB / 0.6687 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.1534, allocations: 12.94 kB / 0.6687 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/0.1537, allocations: 186.2 kB / 0.6689 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1537, allocations: 34.56 kB / 0.6689 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.1537, allocations: 0 / 0.6689 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002624/0.154, allocations: 65.61 kB / 0.6689 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.1541, allocations: 59.41 kB / 0.669 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.535e-05/0.1541, allocations: 101.8 kB / 0.6691 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.1542, allocations: 29.7 kB / 0.6691 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/0.1542, allocations: 80.14 kB / 0.6692 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.1542, allocations: 11.75 kB / 0.6692 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.1543, allocations: 17.72 kB / 0.6692 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1544, allocations: 310.8 kB / 0.6695 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.184e-05/0.1544, allocations: 11.98 kB / 0.6695 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.075e-05/0.1545, allocations: 12 kB / 0.6696 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.1546, allocations: 28.84 kB / 0.6696 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1546, allocations: 0 / 0.6696 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001374/0.1547, allocations: 57.67 kB / 0.6696 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1548, allocations: 7.938 kB / 0.6696 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.1548, allocations: 7.938 kB / 0.6697 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1548, allocations: 0 / 0.6697 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.289e-05/0.1549, allocations: 4 kB / 0.6697 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1549, allocations: 4 kB / 0.6697 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.417e-05/0.1549, allocations: 7.984 kB / 0.6697 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.1549, allocations: 0 / 0.6697 GB, free: 1.023 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 7.028e-05/0.155, allocations: 113.8 kB / 0.6698 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.155, allocations: 7.844 kB / 0.6698 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.1552, allocations: 69.62 kB / 0.6699 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1552, allocations: 0 / 0.6699 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1552, allocations: 0 / 0.6699 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1552, allocations: 4 kB / 0.6699 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.1554, allocations: 161.6 kB / 0.67 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1554, allocations: 3.984 kB / 0.67 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.916e-05/0.1554, allocations: 11.98 kB / 0.67 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.1554, allocations: 3.938 kB / 0.67 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.1554, allocations: 3.938 kB / 0.67 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.1555, allocations: 4 kB / 0.67 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1555, allocations: 4 kB / 0.67 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.1556, allocations: 77.12 kB / 0.6701 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.1557, allocations: 89.09 kB / 0.6702 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.1557, allocations: 3.938 kB / 0.6702 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.047e-05/0.1558, allocations: 4 kB / 0.6702 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.1558, allocations: 3.984 kB / 0.6702 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.1558, allocations: 0 / 0.6702 GB, free: 368 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.08e-05/0.1558, allocations: 79.28 kB / 0.6703 GB, free: 288 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.813e-06/0.1559, allocations: 0 / 0.6703 GB, free: 288 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002364/0.1561, allocations: 43.86 kB / 0.6703 GB, free: 244 kB / 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 (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.0002137/0.1563, allocations: 132.6 kB / 0.6705 GB, free: 100 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.1565, allocations: 27.97 kB / 0.6705 GB, free: 72 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1565, allocations: 4 kB / 0.6705 GB, free: 68 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.19e-05/0.1565, allocations: 12 kB / 0.6705 GB, free: 56 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.1568, allocations: 9.703 kB / 0.6705 GB, free: 48 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.1571, allocations: 160.6 kB / 0.6707 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.1574, allocations: 0.6807 MB / 0.6713 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.1574, allocations: 7.438 kB / 0.6713 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of SimCode: time 1.953e-06/0.1574, allocations: 4 kB / 0.6713 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.002458/0.1599, allocations: 0.9901 MB / 0.6723 GB, free: 14.15 MB / 0.5137 GB 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)