Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 105.9 kB / 15.98 MB, free: 6.348 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.001551/0.001551, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.307/1.307, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7639/0.7639, allocations: 132.2 MB / 422.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 59.91 kB / 0.5019 GB, free: 12.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3979, allocations: 80.18 MB / 0.5802 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002655/0.4006, allocations: 1.539 MB / 0.5817 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.4017, allocations: 0.8195 MB / 0.5825 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.614e-05/0.4018, allocations: 0 / 0.5825 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.843e-05/0.4018, allocations: 0.5 kB / 0.5825 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.038e-05/0.4019, allocations: 10.72 kB / 0.5825 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.4024, allocations: 116.1 kB / 0.5826 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.845e-05/0.4025, allocations: 55.41 kB / 0.5827 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.4026, allocations: 14.48 kB / 0.5827 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.024e-05/0.4027, allocations: 16.34 kB / 0.5827 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.828e-05/0.4027, allocations: 26.41 kB / 0.5827 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.4027, allocations: 5.156 kB / 0.5827 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002986/0.403, allocations: 177.3 kB / 0.5829 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.4031, allocations: 12.95 kB / 0.5829 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.4031, allocations: 18.94 kB / 0.5829 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.4033, allocations: 106.6 kB / 0.583 GB, free: 25.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.4033, allocations: 3.938 kB / 0.5831 GB, free: 25.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.4033, allocations: 1.188 kB / 0.5831 GB, free: 25.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.4033, allocations: 2.594 kB / 0.5831 GB, free: 25.16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006023/0.4039, allocations: 396.4 kB / 0.5834 GB, free: 24.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.404, allocations: 13.41 kB / 0.5834 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.404, allocations: 8.219 kB / 0.5835 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.405e-05/0.4041, allocations: 173 kB / 0.5836 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.4041, allocations: 1.656 kB / 0.5836 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.4042, allocations: 6.969 kB / 0.5836 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.4044, allocations: 77.55 kB / 0.5837 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4044, allocations: 3 kB / 0.5837 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.4044, allocations: 3.938 kB / 0.5837 GB, free: 24.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4044, allocations: 1.438 kB / 0.5837 GB, free: 24.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.4047, allocations: 71.11 kB / 0.5838 GB, free: 24.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.4051, allocations: 288 kB / 0.5841 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.4053, allocations: 55.59 kB / 0.5841 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.4054, allocations: 36.95 kB / 0.5841 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.4056, allocations: 94.75 kB / 0.5842 GB, free: 23.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.4056, allocations: 34.5 kB / 0.5843 GB, free: 23.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/0.4056, allocations: 5.359 kB / 0.5843 GB, free: 23.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005148/0.4061, allocations: 134.5 kB / 0.5844 GB, free: 23.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.4062, allocations: 52.03 kB / 0.5844 GB, free: 23.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.622e-05/0.4063, allocations: 118.9 kB / 0.5846 GB, free: 23.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.4063, allocations: 25.7 kB / 0.5846 GB, free: 23.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.4063, allocations: 92.09 kB / 0.5847 GB, free: 23.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.4063, allocations: 15.84 kB / 0.5847 GB, free: 23.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.4064, allocations: 19.09 kB / 0.5847 GB, free: 23.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.868e-05/0.4064, allocations: 322.8 kB / 0.585 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.4065, allocations: 25.69 kB / 0.585 GB, free: 23.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.4067, allocations: 33.95 kB / 0.5851 GB, free: 23.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.4069, allocations: 70.64 kB / 0.5851 GB, free: 23.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4069, allocations: 0 / 0.5851 GB, free: 23.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002848/0.4072, allocations: 108.2 kB / 0.5852 GB, free: 23.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4072, allocations: 5.188 kB / 0.5852 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.4072, allocations: 0.9688 kB / 0.5852 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.4073, allocations: 0 / 0.5852 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.4074, allocations: 14.95 kB / 0.5853 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.4074, allocations: 2.25 kB / 0.5853 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.657e-05/0.4075, allocations: 11.17 kB / 0.5853 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.4075, allocations: 1.5 kB / 0.5853 GB, free: 23.05 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 (3): * Single equations (assignments): 3 * 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 6.135e-05/0.4076, allocations: 120.8 kB / 0.5854 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.4076, allocations: 6.656 kB / 0.5854 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000335/0.4079, allocations: 107.7 kB / 0.5855 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.4079, allocations: 0 / 0.5855 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.408, allocations: 1.375 kB / 0.5855 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.408, allocations: 1.375 kB / 0.5855 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.4081, allocations: 174.5 kB / 0.5857 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4081, allocations: 0 / 0.5857 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.204e-05/0.4082, allocations: 19.86 kB / 0.5857 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.4082, allocations: 0 / 0.5857 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.4082, allocations: 5.312 kB / 0.5857 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4082, allocations: 0.6875 kB / 0.5857 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4082, allocations: 1.406 kB / 0.5857 GB, free: 22.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.4086, allocations: 199.5 kB / 0.5859 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.4086, allocations: 82.27 kB / 0.586 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.4086, allocations: 1.312 kB / 0.586 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.4087, allocations: 15.48 kB / 0.586 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.4088, allocations: 10.31 kB / 0.586 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-06/0.4088, allocations: 5.188 kB / 0.586 GB, free: 22.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.705e-05/0.4088, allocations: 99.22 kB / 0.5861 GB, free: 22.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4088, allocations: 0 / 0.5861 GB, free: 22.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.4091, allocations: 34.5 kB / 0.5861 GB, free: 22.25 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 (3): * Single equations (assignments): 3 * 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.0001955/0.4093, allocations: 123 kB / 0.5862 GB, free: 22.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003148/0.4096, allocations: 76.39 kB / 0.5863 GB, free: 22.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4096, allocations: 0 / 0.5863 GB, free: 22.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.4098, allocations: 37.67 kB / 0.5863 GB, free: 22.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.4101, allocations: 18.89 kB / 0.5864 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.4105, allocations: 186.7 kB / 0.5865 GB, free: 21.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.4106, allocations: 0.6853 MB / 0.5872 GB, free: 21.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.4107, allocations: 10.47 kB / 0.5872 GB, free: 21.2 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.4107, allocations: 0 / 0.5872 GB, free: 21.2 MB / 446.1 MB Notification: Performance of Templates: time 0.002803/0.4135, allocations: 1.221 MB / 0.5884 GB, free: 20.63 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)