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.009846/0.009845, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001832/0.001832, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7829/0.7829, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 71.45 kB / 0.5856 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1481, allocations: 80.92 MB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002297/0.1504, allocations: 1.272 MB / 0.6659 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.1518, allocations: 0.8306 MB / 0.6667 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.842e-05/0.1518, allocations: 0 / 0.6667 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/0.1519, allocations: 3.938 kB / 0.6667 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.614e-05/0.1519, allocations: 4 kB / 0.6667 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/0.1524, allocations: 131.4 kB / 0.6668 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.73e-05/0.1525, allocations: 27.92 kB / 0.6669 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.1526, allocations: 0 / 0.6669 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.728e-05/0.1526, allocations: 15.88 kB / 0.6669 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.104e-05/0.1527, allocations: 11.98 kB / 0.6669 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.1527, allocations: 0 / 0.6669 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.153, allocations: 167.8 kB / 0.667 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.153, allocations: 3.938 kB / 0.667 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.1531, allocations: 15.97 kB / 0.6671 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.1533, allocations: 115.8 kB / 0.6672 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1533, allocations: 0 / 0.6672 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1533, allocations: 0 / 0.6672 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.1534, allocations: 4 kB / 0.6672 GB, free: 3.203 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.0005162/0.1539, allocations: 371.2 kB / 0.6675 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1539, allocations: 9.109 kB / 0.6675 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.154, allocations: 4.938 kB / 0.6675 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.1541, allocations: 172.2 kB / 0.6677 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.129e-05/0.1542, allocations: 30.27 kB / 0.6677 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.1542, allocations: 384 / 0.6677 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1544, allocations: 46.25 kB / 0.6678 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1544, allocations: 7.938 kB / 0.6678 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1544, allocations: 0 / 0.6678 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1544, allocations: 0 / 0.6678 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.926e-05/0.1545, allocations: 23.97 kB / 0.6678 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.1547, allocations: 153.7 kB / 0.668 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.1549, allocations: 50.64 kB / 0.668 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.013e-05/0.155, allocations: 16.84 kB / 0.668 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002985/0.1553, allocations: 186.2 kB / 0.6682 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1553, allocations: 30.56 kB / 0.6682 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.1554, allocations: 0 / 0.6682 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002762/0.1556, allocations: 73.55 kB / 0.6683 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.1557, allocations: 59.41 kB / 0.6684 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.914e-05/0.1558, allocations: 97.84 kB / 0.6684 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.109e-05/0.1558, allocations: 29.7 kB / 0.6685 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/0.1559, allocations: 80.14 kB / 0.6685 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.1559, allocations: 15.75 kB / 0.6686 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.156, allocations: 13.72 kB / 0.6686 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1561, allocations: 310.8 kB / 0.6689 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.251e-05/0.1561, allocations: 15.98 kB / 0.6689 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.307e-05/0.1562, allocations: 11.98 kB / 0.6689 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.913e-05/0.1563, allocations: 24.86 kB / 0.6689 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.1563, allocations: 4 kB / 0.6689 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001361/0.1565, allocations: 57.61 kB / 0.669 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1565, allocations: 7.938 kB / 0.669 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1565, allocations: 0 / 0.669 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1565, allocations: 4 kB / 0.669 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-05/0.1566, allocations: 4 kB / 0.669 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1566, allocations: 4 kB / 0.669 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.682e-05/0.1566, allocations: 15.92 kB / 0.669 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.1566, allocations: 0 / 0.669 GB, free: 1.043 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.185e-05/0.1567, allocations: 105.8 kB / 0.6691 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.1567, allocations: 11.84 kB / 0.6691 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.157, allocations: 65.11 kB / 0.6692 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.157, allocations: 4 kB / 0.6692 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.157, allocations: 0 / 0.6692 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.157, allocations: 4.562 kB / 0.6692 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.1572, allocations: 157.7 kB / 0.6694 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1572, allocations: 0 / 0.6694 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.855e-05/0.1572, allocations: 15.92 kB / 0.6694 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1572, allocations: 3.938 kB / 0.6694 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1573, allocations: 4 kB / 0.6694 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1573, allocations: 0 / 0.6694 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1573, allocations: 0 / 0.6694 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.1574, allocations: 89.09 kB / 0.6695 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.1575, allocations: 81.11 kB / 0.6695 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.1575, allocations: 3.938 kB / 0.6695 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.258e-05/0.1576, allocations: 3.984 kB / 0.6695 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.1576, allocations: 7.938 kB / 0.6696 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1576, allocations: 4 kB / 0.6696 GB, free: 392 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.42e-05/0.1577, allocations: 79.28 kB / 0.6696 GB, free: 312 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1577, allocations: 0 / 0.6696 GB, free: 312 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002328/0.1579, allocations: 35.92 kB / 0.6697 GB, free: 276 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.0002384/0.1582, allocations: 144.5 kB / 0.6698 GB, free: 120 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.1583, allocations: 23.98 kB / 0.6698 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1583, allocations: 0 / 0.6698 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.474e-05/0.1584, allocations: 15.94 kB / 0.6698 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.1586, allocations: 13.7 kB / 0.6699 GB, free: 68 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.159, allocations: 127 kB / 0.67 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.1592, allocations: 0.6806 MB / 0.6706 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.857e-05/0.1593, allocations: 4 kB / 0.6706 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/0.1593, allocations: 7.438 kB / 0.6706 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.1593, allocations: 4 kB / 0.6707 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.003442/0.1628, allocations: 1.07 MB / 0.6717 GB, free: 14.13 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)