Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001355/0.001355, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.494/0.494, allocations: 90.91 MB / 99.34 MB, free: 2.227 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 221.5 MB / 343.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008883/0.0008883, allocations: 88.7 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.372e-05/1.376e-05, allocations: 10.33 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 72.31 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4696/0.5853, allocations: 102.5 MB / 0.6536 GB, free: 7.742 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.5856, allocations: 77.7 kB / 0.6537 GB, free: 7.699 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007797/0.5934, allocations: 2.694 MB / 0.6563 GB, free: 5.402 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5934, allocations: 4 kB / 0.6563 GB, free: 5.398 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.5934, allocations: 4 kB / 0.6563 GB, free: 5.395 MB / 458.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.0003161/0.5937, allocations: 354.9 kB / 0.6567 GB, free: 5.008 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.5938, allocations: 8.688 kB / 0.6567 GB, free: 5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.5938, allocations: 11.86 kB / 0.6567 GB, free: 4.988 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.594, allocations: 163.1 kB / 0.6569 GB, free: 4.789 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.666e-05/0.594, allocations: 29.7 kB / 0.6569 GB, free: 4.754 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.5941, allocations: 3.984 kB / 0.6569 GB, free: 4.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.726e-05/0.5942, allocations: 11.31 kB / 0.6569 GB, free: 4.742 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.691e-05/0.5942, allocations: 45.56 kB / 0.6569 GB, free: 4.695 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.5943, allocations: 3.938 kB / 0.6569 GB, free: 4.691 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.5943, allocations: 7.953 kB / 0.657 GB, free: 4.684 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.5943, allocations: 0 / 0.657 GB, free: 4.684 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.5944, allocations: 133.3 kB / 0.6571 GB, free: 4.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.5946, allocations: 36.45 kB / 0.6571 GB, free: 4.48 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.5946, allocations: 11.98 kB / 0.6571 GB, free: 4.469 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/0.5949, allocations: 186.3 kB / 0.6573 GB, free: 4.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.5949, allocations: 30.56 kB / 0.6573 GB, free: 4.211 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.5949, allocations: 0 / 0.6573 GB, free: 4.211 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004557/0.5954, allocations: 91.19 kB / 0.6574 GB, free: 4.125 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.5954, allocations: 59.34 kB / 0.6575 GB, free: 4.055 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.733e-05/0.5955, allocations: 96.48 kB / 0.6576 GB, free: 3.957 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.5955, allocations: 25.7 kB / 0.6576 GB, free: 3.926 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.373e-05/0.5955, allocations: 80.14 kB / 0.6577 GB, free: 3.844 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.5956, allocations: 15.75 kB / 0.6577 GB, free: 3.828 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.5956, allocations: 0 / 0.6577 GB, free: 3.828 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.5957, allocations: 318.7 kB / 0.658 GB, free: 3.512 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.5957, allocations: 4 kB / 0.658 GB, free: 3.508 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.362e-05/0.5957, allocations: 11.73 kB / 0.658 GB, free: 3.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.5961, allocations: 51.56 kB / 0.6581 GB, free: 3.453 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5961, allocations: 0 / 0.6581 GB, free: 3.453 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003436/0.5964, allocations: 99.62 kB / 0.6581 GB, free: 3.359 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.5964, allocations: 4 kB / 0.6582 GB, free: 3.355 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5965, allocations: 4 kB / 0.6582 GB, free: 3.352 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.5965, allocations: 0 / 0.6582 GB, free: 3.352 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.512e-05/0.5965, allocations: 7.984 kB / 0.6582 GB, free: 3.344 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.5965, allocations: 3.938 kB / 0.6582 GB, free: 3.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.808e-05/0.5966, allocations: 4 kB / 0.6582 GB, free: 3.336 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.5966, allocations: 0 / 0.6582 GB, free: 3.336 MB / 458.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.485e-05/0.5966, allocations: 108.9 kB / 0.6583 GB, free: 3.223 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.5967, allocations: 10.09 kB / 0.6583 GB, free: 3.215 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/0.5971, allocations: 106.9 kB / 0.6584 GB, free: 3.117 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5971, allocations: 432 / 0.6584 GB, free: 3.117 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.5971, allocations: 0 / 0.6584 GB, free: 3.117 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.5971, allocations: 0 / 0.6584 GB, free: 3.117 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.979e-05/0.5972, allocations: 137.6 kB / 0.6585 GB, free: 2.949 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.5972, allocations: 0 / 0.6585 GB, free: 2.949 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.5972, allocations: 15.98 kB / 0.6585 GB, free: 2.934 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5972, allocations: 0 / 0.6585 GB, free: 2.934 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.5973, allocations: 0 / 0.6585 GB, free: 2.934 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5973, allocations: 3.938 kB / 0.6585 GB, free: 2.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5973, allocations: 0 / 0.6585 GB, free: 2.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.5976, allocations: 127.1 kB / 0.6587 GB, free: 2.797 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/0.5977, allocations: 84.97 kB / 0.6587 GB, free: 2.695 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.5977, allocations: 0 / 0.6587 GB, free: 2.695 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.711e-05/0.5978, allocations: 11.98 kB / 0.6587 GB, free: 2.684 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.5978, allocations: 0 / 0.6587 GB, free: 2.684 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.5978, allocations: 7.938 kB / 0.6588 GB, free: 2.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.703e-05/0.5979, allocations: 75.28 kB / 0.6588 GB, free: 2.605 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5979, allocations: 0 / 0.6588 GB, free: 2.605 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002107/0.5981, allocations: 39.92 kB / 0.6589 GB, free: 2.566 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002299/0.5983, allocations: 143.1 kB / 0.659 GB, free: 2.414 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.848e-05/0.5984, allocations: 26.88 kB / 0.659 GB, free: 2.395 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5984, allocations: 0 / 0.659 GB, free: 2.395 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.965e-05/0.5984, allocations: 8 kB / 0.659 GB, free: 2.387 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.5986, allocations: 6.469 kB / 0.659 GB, free: 2.387 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001747/0.5988, allocations: 59.94 kB / 0.6591 GB, free: 2.305 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.599, allocations: 0.6768 MB / 0.6598 GB, free: 1.602 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.881e-05/0.5991, allocations: 15.97 kB / 0.6598 GB, free: 1.586 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.5991, allocations: 15.31 kB / 0.6598 GB, free: 1.574 MB / 458.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5991, allocations: 0 / 0.6598 GB, free: 1.574 MB / 458.7 MB Notification: Performance of Templates: time 0.002677/0.6018, allocations: 0.9335 MB / 0.6607 GB, free: 0.6523 MB / 458.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)