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.0008315/0.0008315, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004954/0.004954, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7642/0.7642, allocations: 132.4 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003303, allocations: 8 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.4814, allocations: 81.58 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001577/0.483, allocations: 1.205 MB / 0.5848 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.4843, allocations: 0.821 MB / 0.5856 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.4844, allocations: 5.062 kB / 0.5856 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.4844, allocations: 1.406 kB / 0.5857 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.065e-05/0.4844, allocations: 10.52 kB / 0.5857 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.4849, allocations: 108 kB / 0.5858 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.854e-05/0.485, allocations: 46.31 kB / 0.5858 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.4851, allocations: 23.92 kB / 0.5858 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.847e-05/0.4851, allocations: 11.27 kB / 0.5858 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.4852, allocations: 27.17 kB / 0.5859 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.4852, allocations: 2.125 kB / 0.5859 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.4856, allocations: 173.5 kB / 0.586 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.4856, allocations: 3.625 kB / 0.586 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.4856, allocations: 44.84 kB / 0.5861 GB, free: 2.402 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.4859, allocations: 153.4 kB / 0.5862 GB, free: 2.352 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4859, allocations: 0 / 0.5862 GB, free: 2.352 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.486, allocations: 0.9375 kB / 0.5862 GB, free: 2.352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.486, allocations: 4 kB / 0.5862 GB, free: 2.348 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005169/0.4865, allocations: 399.5 kB / 0.5866 GB, free: 1.961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.4865, allocations: 9.578 kB / 0.5866 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.4866, allocations: 3.656 kB / 0.5866 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.986e-05/0.4867, allocations: 180.9 kB / 0.5868 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.4867, allocations: 1.562 kB / 0.5868 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.4867, allocations: 10.28 kB / 0.5868 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.487, allocations: 82.92 kB / 0.5869 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.487, allocations: 192 / 0.5869 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.4871, allocations: 8.594 kB / 0.5869 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4871, allocations: 4.734 kB / 0.5869 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.4874, allocations: 92.75 kB / 0.587 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.4878, allocations: 287.4 kB / 0.5873 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.488, allocations: 69.06 kB / 0.5873 GB, free: 1.348 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.4882, allocations: 47.09 kB / 0.5874 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.4884, allocations: 93.42 kB / 0.5875 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.4884, allocations: 32.19 kB / 0.5875 GB, free: 1.199 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.833e-06/0.4884, allocations: 0 / 0.5875 GB, free: 1.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006382/0.4891, allocations: 166.3 kB / 0.5877 GB, free: 1.145 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.4891, allocations: 54.03 kB / 0.5877 GB, free: 1.082 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.4892, allocations: 120.3 kB / 0.5878 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.4892, allocations: 25.7 kB / 0.5878 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.4892, allocations: 96.44 kB / 0.5879 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.4893, allocations: 13.95 kB / 0.5879 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.4893, allocations: 10.75 kB / 0.588 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.057e-05/0.4894, allocations: 318.7 kB / 0.5883 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.4895, allocations: 44.7 kB / 0.5883 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.4897, allocations: 41.39 kB / 0.5883 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.49, allocations: 90.8 kB / 0.5884 GB, free: 484 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.49, allocations: 4 kB / 0.5884 GB, free: 480 kB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003698/0.4904, allocations: 122.9 kB / 0.5886 GB, free: 432 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.4904, allocations: 4.625 kB / 0.5886 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4904, allocations: 1.859 kB / 0.5886 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.4905, allocations: 0 / 0.5886 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.4906, allocations: 24.48 kB / 0.5886 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4906, allocations: 0.6562 kB / 0.5886 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.67e-05/0.4907, allocations: 24.69 kB / 0.5886 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.4907, allocations: 1.094 kB / 0.5886 GB, free: 420 kB / 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 (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.016e-05/0.4908, allocations: 112.6 kB / 0.5887 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.4908, allocations: 2.562 kB / 0.5887 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004186/0.4913, allocations: 133.8 kB / 0.5888 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4913, allocations: 0.5625 kB / 0.5888 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4913, allocations: 4.547 kB / 0.5889 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4913, allocations: 0.875 kB / 0.5889 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.4915, allocations: 173 kB / 0.589 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4915, allocations: 8.703 kB / 0.589 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.4916, allocations: 20.12 kB / 0.589 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4916, allocations: 1.328 kB / 0.589 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.4916, allocations: 5.469 kB / 0.5891 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4916, allocations: 0 / 0.5891 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4916, allocations: 0.6094 kB / 0.5891 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.4921, allocations: 230.3 kB / 0.5893 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.4922, allocations: 79.27 kB / 0.5893 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.4922, allocations: 1.484 kB / 0.5893 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.4923, allocations: 20.73 kB / 0.5894 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.4924, allocations: 4.594 kB / 0.5894 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.4924, allocations: 5.406 kB / 0.5894 GB, free: 15.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.919e-05/0.4925, allocations: 91.05 kB / 0.5895 GB, free: 15.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4925, allocations: 5.469 kB / 0.5895 GB, free: 15.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003295/0.4928, allocations: 34.75 kB / 0.5895 GB, free: 15.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 (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.0002453/0.4931, allocations: 125.2 kB / 0.5896 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004141/0.4935, allocations: 90.11 kB / 0.5897 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4935, allocations: 0 / 0.5897 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.4937, allocations: 49.83 kB / 0.5898 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.494, allocations: 15.39 kB / 0.5898 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.4944, allocations: 164.3 kB / 0.5899 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.4946, allocations: 0.6862 MB / 0.5906 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.969e-05/0.4947, allocations: 2.953 kB / 0.5906 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.4947, allocations: 14.94 kB / 0.5906 GB, free: 14.7 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4947, allocations: 0 / 0.5906 GB, free: 14.7 MB / 446.1 MB Notification: Performance of Templates: time 0.004327/0.4991, allocations: 1.21 MB / 0.5918 GB, free: 14.58 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)