Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.0008075/0.0008078, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008848/0.0008848, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6693/0.6693, allocations: 132.4 MB / 423.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002823, allocations: 8 kB / 0.5034 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3251, allocations: 81.57 MB / 0.5831 GB, free: 4.203 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.0009443/0.3261, allocations: 0.9886 MB / 0.584 GB, free: 3.469 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009059/0.327, allocations: 0.786 MB / 0.5848 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.791e-05/0.3271, allocations: 1.156 kB / 0.5848 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.036e-05/0.3271, allocations: 3.938 kB / 0.5848 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.725e-05/0.3271, allocations: 1.359 kB / 0.5848 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.3275, allocations: 115.9 kB / 0.5849 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.295e-05/0.3275, allocations: 22.84 kB / 0.585 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.3276, allocations: 5.562 kB / 0.585 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.259e-05/0.3276, allocations: 12.61 kB / 0.585 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.3277, allocations: 10.56 kB / 0.585 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.938e-06/0.3277, allocations: 1.281 kB / 0.585 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/0.328, allocations: 168.1 kB / 0.5851 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.328, allocations: 7.234 kB / 0.5851 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.328, allocations: 31.83 kB / 0.5852 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.3282, allocations: 89.8 kB / 0.5853 GB, free: 2.738 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3282, allocations: 0 / 0.5853 GB, free: 2.738 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3282, allocations: 0 / 0.5853 GB, free: 2.738 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.3282, allocations: 1.062 kB / 0.5853 GB, free: 2.738 MB / 430.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.0002848/0.3285, allocations: 352.9 kB / 0.5856 GB, free: 2.367 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.3285, allocations: 9.469 kB / 0.5856 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.3285, allocations: 7.406 kB / 0.5856 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.127e-05/0.3286, allocations: 161.5 kB / 0.5858 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.315e-05/0.3287, allocations: 36.75 kB / 0.5858 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.3287, allocations: 1.406 kB / 0.5858 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.3288, allocations: 43.44 kB / 0.5858 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.3288, allocations: 0.8438 kB / 0.5859 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.3288, allocations: 3.938 kB / 0.5859 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3288, allocations: 1.719 kB / 0.5859 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.847e-05/0.3289, allocations: 22.55 kB / 0.5859 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001023/0.329, allocations: 158.2 kB / 0.586 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.3292, allocations: 49.92 kB / 0.5861 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.658e-05/0.3292, allocations: 18.5 kB / 0.5861 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/0.3295, allocations: 177.6 kB / 0.5863 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322e-05/0.3295, allocations: 32.95 kB / 0.5863 GB, free: 1.613 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3295, allocations: 4 kB / 0.5863 GB, free: 1.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002012/0.3297, allocations: 71.69 kB / 0.5864 GB, free: 1.562 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.3297, allocations: 51.41 kB / 0.5864 GB, free: 1.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.004e-05/0.3298, allocations: 100.3 kB / 0.5865 GB, free: 1.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.273e-06/0.3298, allocations: 25.7 kB / 0.5865 GB, free: 1.367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.889e-06/0.3298, allocations: 85.38 kB / 0.5866 GB, free: 1.281 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.3298, allocations: 19.2 kB / 0.5866 GB, free: 1.266 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-06/0.3298, allocations: 0 / 0.5866 GB, free: 1.266 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.286e-05/0.3299, allocations: 320.3 kB / 0.5869 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.085e-05/0.3299, allocations: 7.031 kB / 0.5869 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.405e-05/0.3299, allocations: 13.48 kB / 0.587 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.003e-05/0.33, allocations: 11.33 kB / 0.587 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.33, allocations: 0.6875 kB / 0.587 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001063/0.3301, allocations: 61.25 kB / 0.587 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.3301, allocations: 4.938 kB / 0.587 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3301, allocations: 0.7188 kB / 0.587 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.3301, allocations: 4 kB / 0.587 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.69e-05/0.3302, allocations: 8.844 kB / 0.587 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.3302, allocations: 0 / 0.587 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.658e-05/0.3302, allocations: 6.484 kB / 0.5871 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.3302, allocations: 1.719 kB / 0.5871 GB, free: 0.8867 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.3303, allocations: 117.8 kB / 0.5872 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.3303, allocations: 1.5 kB / 0.5872 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.3304, allocations: 72.52 kB / 0.5872 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3305, allocations: 0.7969 kB / 0.5872 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3305, allocations: 1.062 kB / 0.5872 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3305, allocations: 0 / 0.5872 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.788e-05/0.3305, allocations: 158.4 kB / 0.5874 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3305, allocations: 1.734 kB / 0.5874 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.129e-05/0.3306, allocations: 7.719 kB / 0.5874 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3306, allocations: 0.75 kB / 0.5874 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.3306, allocations: 0.75 kB / 0.5874 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3306, allocations: 0.5156 kB / 0.5874 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3306, allocations: 0.7812 kB / 0.5874 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.3307, allocations: 94.61 kB / 0.5875 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.3308, allocations: 85.89 kB / 0.5876 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.3308, allocations: 1.453 kB / 0.5876 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.306e-05/0.3309, allocations: 6.672 kB / 0.5876 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.3309, allocations: 3.516 kB / 0.5876 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.3309, allocations: 6.188 kB / 0.5876 GB, free: 332 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.007e-05/0.3309, allocations: 81.83 kB / 0.5877 GB, free: 252 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3309, allocations: 4.75 kB / 0.5877 GB, free: 248 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.3312, allocations: 40.17 kB / 0.5877 GB, free: 232 kB / 430.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 (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.0001972/0.3314, allocations: 135.6 kB / 0.5878 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.3315, allocations: 24.88 kB / 0.5879 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3315, allocations: 0 / 0.5879 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.169e-05/0.3316, allocations: 24.23 kB / 0.5879 GB, free: 116 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.3318, allocations: 13.06 kB / 0.5879 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/0.3321, allocations: 136 kB / 0.588 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.3323, allocations: 0.6769 MB / 0.5887 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.053e-05/0.3323, allocations: 12.03 kB / 0.5887 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.3324, allocations: 10.12 kB / 0.5887 GB, free: 15.28 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3324, allocations: 0 / 0.5887 GB, free: 15.28 MB / 446.1 MB Notification: Performance of Templates: time 0.003474/0.3358, allocations: 0.999 MB / 0.5897 GB, free: 15.16 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)