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.001476/0.001476, allocations: 110.7 kB / 15.99 MB, free: 5.91 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.001806/0.001806, allocations: 192.5 kB / 16.91 MB, free: 5.754 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.329/1.329, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8113/0.8113, allocations: 135.1 MB / 425.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001516, allocations: 55.91 kB / 0.5055 GB, free: 8.699 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3674, allocations: 80.91 MB / 0.5845 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002301/0.3697, allocations: 1.333 MB / 0.5858 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3709, allocations: 0.8342 MB / 0.5866 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.956e-05/0.3709, allocations: 1.844 kB / 0.5866 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.3709, allocations: 3.938 kB / 0.5866 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.909e-05/0.371, allocations: 8.984 kB / 0.5866 GB, free: 23.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.3714, allocations: 110.1 kB / 0.5867 GB, free: 23.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.014e-05/0.3715, allocations: 27.58 kB / 0.5868 GB, free: 23.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.3715, allocations: 5.312 kB / 0.5868 GB, free: 23.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.756e-05/0.3716, allocations: 5.375 kB / 0.5868 GB, free: 23.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.719e-05/0.3717, allocations: 21.06 kB / 0.5868 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.3717, allocations: 5.531 kB / 0.5868 GB, free: 23.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.372, allocations: 168.4 kB / 0.587 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.372, allocations: 5.422 kB / 0.587 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.372, allocations: 15.83 kB / 0.587 GB, free: 23.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.3722, allocations: 84.16 kB / 0.5871 GB, free: 23.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3722, allocations: 0 / 0.5871 GB, free: 23.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3722, allocations: 1.375 kB / 0.5871 GB, free: 23.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3722, allocations: 1.344 kB / 0.5871 GB, free: 23.27 MB / 446.1 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.0003637/0.3726, allocations: 358.5 kB / 0.5874 GB, free: 22.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3726, allocations: 11.05 kB / 0.5874 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.3727, allocations: 3.594 kB / 0.5874 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.488e-05/0.3727, allocations: 171.2 kB / 0.5876 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/0.3728, allocations: 29.05 kB / 0.5876 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.3728, allocations: 5.875 kB / 0.5876 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.3729, allocations: 43.97 kB / 0.5877 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.3729, allocations: 4.938 kB / 0.5877 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.373, allocations: 0 / 0.5877 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.373, allocations: 1.156 kB / 0.5877 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.918e-05/0.3731, allocations: 18.89 kB / 0.5877 GB, free: 22.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000105/0.3732, allocations: 159.2 kB / 0.5878 GB, free: 22.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.3734, allocations: 51.19 kB / 0.5879 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.3734, allocations: 19.39 kB / 0.5879 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002363/0.3737, allocations: 180.4 kB / 0.5881 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.3737, allocations: 35.53 kB / 0.5881 GB, free: 22.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3737, allocations: 1.406 kB / 0.5881 GB, free: 22.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002238/0.3739, allocations: 74.05 kB / 0.5882 GB, free: 22.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.936e-05/0.374, allocations: 52.94 kB / 0.5882 GB, free: 21.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.068e-05/0.374, allocations: 96.81 kB / 0.5883 GB, free: 21.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.374, allocations: 30.39 kB / 0.5884 GB, free: 21.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.26e-05/0.374, allocations: 81.67 kB / 0.5884 GB, free: 21.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.3741, allocations: 5.031 kB / 0.5884 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.3741, allocations: 22.41 kB / 0.5885 GB, free: 21.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.3742, allocations: 317.3 kB / 0.5888 GB, free: 21.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.004e-05/0.3742, allocations: 13.66 kB / 0.5888 GB, free: 21.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.817e-05/0.3743, allocations: 9.891 kB / 0.5888 GB, free: 21.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.533e-05/0.3743, allocations: 28.89 kB / 0.5888 GB, free: 21.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3744, allocations: 0 / 0.5888 GB, free: 21.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001157/0.3745, allocations: 59.56 kB / 0.5889 GB, free: 21.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3745, allocations: 10.62 kB / 0.5889 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3745, allocations: 0 / 0.5889 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.3745, allocations: 0 / 0.5889 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.161e-05/0.3746, allocations: 7.781 kB / 0.5889 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3746, allocations: 12.98 kB / 0.5889 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.3746, allocations: 1.219 kB / 0.5889 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.3746, allocations: 6.094 kB / 0.5889 GB, free: 21.33 MB / 446.1 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 4.211e-05/0.3747, allocations: 111.8 kB / 0.589 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.3747, allocations: 6.469 kB / 0.589 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.3749, allocations: 65.48 kB / 0.5891 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3749, allocations: 0 / 0.5891 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3749, allocations: 1.062 kB / 0.5891 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3749, allocations: 0 / 0.5891 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.805e-05/0.375, allocations: 159.7 kB / 0.5892 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.375, allocations: 1.938 kB / 0.5892 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-05/0.375, allocations: 11.08 kB / 0.5892 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.375, allocations: 7.875 kB / 0.5893 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.375, allocations: 1.188 kB / 0.5893 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.375, allocations: 0 / 0.5893 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.375, allocations: 6.047 kB / 0.5893 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.3752, allocations: 86.11 kB / 0.5893 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.3752, allocations: 87.33 kB / 0.5894 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.3752, allocations: 5.062 kB / 0.5894 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.884e-05/0.3753, allocations: 5.359 kB / 0.5894 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.3753, allocations: 3.969 kB / 0.5894 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.3754, allocations: 1.594 kB / 0.5894 GB, free: 20.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.012e-05/0.3754, allocations: 81.91 kB / 0.5895 GB, free: 20.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3754, allocations: 0 / 0.5895 GB, free: 20.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000228/0.3756, allocations: 35.86 kB / 0.5896 GB, free: 20.66 MB / 446.1 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.000187/0.3758, allocations: 132.9 kB / 0.5897 GB, free: 20.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.376, allocations: 37.95 kB / 0.5897 GB, free: 20.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.376, allocations: 1.312 kB / 0.5897 GB, free: 20.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.846e-05/0.376, allocations: 15.2 kB / 0.5897 GB, free: 20.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.3762, allocations: 14.06 kB / 0.5897 GB, free: 20.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.3765, allocations: 152.2 kB / 0.5899 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.83e-05/0.3766, allocations: 0.6844 MB / 0.5906 GB, free: 19.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.3766, allocations: 11.66 kB / 0.5906 GB, free: 19.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3766, allocations: 0 / 0.5906 GB, free: 19.66 MB / 446.1 MB Notification: Performance of Templates: time 0.002063/0.3787, allocations: 0.9877 MB / 0.5915 GB, free: 19.21 MB / 446.1 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)