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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 81.17 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 169 kB / 23.28 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9827/0.9827, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7804/0.7804, allocations: 154.9 MB / 415.1 MB, free: 272 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.5211 GB, free: 1.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.599e-05/1.794e-05, allocations: 3.406 kB / 0.5211 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00163/0.001648, allocations: 1.308 MB / 0.5224 GB, free: 252 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009239/0.002572, allocations: 0.8398 MB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.934e-05/0.002591, allocations: 0 / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.002606, allocations: 0.5 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.467e-05/0.002651, allocations: 12.58 kB / 0.5232 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.00304, allocations: 133.3 kB / 0.5234 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.778e-05/0.003098, allocations: 27.91 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 2.522e-05/0.003123, allocations: 0 / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.742e-05/0.00317, allocations: 19.92 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.441e-05/0.003215, allocations: 4.781 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.003226, allocations: 0 / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.003424, allocations: 168.5 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.003441, allocations: 11.92 kB / 0.5236 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.472e-05/0.003456, allocations: 8 kB / 0.5236 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004555/0.003911, allocations: 138.5 kB / 0.5237 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003913, allocations: 0 / 0.5237 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.4e-07/0.003913, allocations: 0 / 0.5237 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.896e-06/0.003916, allocations: 0 / 0.5237 GB, free: 14.9 MB / 0.4948 GB 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.0002779/0.004194, allocations: 392.3 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.004226, allocations: 12.03 kB / 0.5241 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.178e-05/0.004248, allocations: 4.938 kB / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.897e-05/0.004307, allocations: 105.2 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.087e-05/0.004358, allocations: 59.91 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/0.004365, allocations: 1.594 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.949e-05/0.004454, allocations: 80.66 kB / 0.5244 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-06/0.004459, allocations: 192 / 0.5244 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.099e-06/0.004464, allocations: 1.344 kB / 0.5244 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.004469, allocations: 4.125 kB / 0.5244 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.991e-05/0.004489, allocations: 8.953 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.027e-05/0.004579, allocations: 105.2 kB / 0.5245 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/0.004677, allocations: 43.97 kB / 0.5245 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.32e-05/0.00469, allocations: 11.69 kB / 0.5245 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.004816, allocations: 33.78 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.004834, allocations: 37.39 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.004835, allocations: 1.219 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 8.686e-05/0.004922, allocations: 53.64 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.004946, allocations: 55.41 kB / 0.5247 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.817e-05/0.004995, allocations: 154.5 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.005004, allocations: 31.45 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.005032, allocations: 138.8 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.00505, allocations: 7.891 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.005074, allocations: 27.33 kB / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.674e-05/0.00517, allocations: 0.4883 MB / 0.5255 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.00518, allocations: 5.531 kB / 0.5255 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-06/0.005188, allocations: 4 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.528e-05/0.005214, allocations: 24.12 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.005215, allocations: 0 / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.457e-05/0.005259, allocations: 48.81 kB / 0.5256 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.005269, allocations: 10.19 kB / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.005273, allocations: 3.984 kB / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/0.005279, allocations: 0 / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.464e-05/0.005304, allocations: 7.938 kB / 0.5256 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.005306, allocations: 4 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.164e-05/0.005318, allocations: 3.938 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-06/0.00532, allocations: 0 / 0.5256 GB, free: 12.76 MB / 0.4948 GB 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 5.333e-05/0.005373, allocations: 162.4 kB / 0.5258 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-06/0.005378, allocations: 0 / 0.5258 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.578e-05/0.005444, allocations: 57.36 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005446, allocations: 0 / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.005447, allocations: 1.875 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.005449, allocations: 0 / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.776e-05/0.005507, allocations: 105.2 kB / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.005508, allocations: 0 / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.005526, allocations: 15.92 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.005527, allocations: 2.75 kB / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-06/0.00553, allocations: 0 / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.005531, allocations: 3.984 kB / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.005532, allocations: 0 / 0.526 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.379e-05/0.005586, allocations: 84.38 kB / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.005606, allocations: 7.984 kB / 0.526 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-06/0.005611, allocations: 0 / 0.526 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.539e-05/0.005626, allocations: 1.781 kB / 0.526 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.005647, allocations: 8 kB / 0.5261 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.00565, allocations: 3.984 kB / 0.5261 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.709e-05/0.005677, allocations: 131.1 kB / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.005677, allocations: 0 / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001322/0.005809, allocations: 38.22 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB 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.000127/0.005936, allocations: 139 kB / 0.5263 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.628e-05/0.005983, allocations: 23.67 kB / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.005984, allocations: 0.875 kB / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.399e-05/0.005998, allocations: 19.67 kB / 0.5264 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/0.006108, allocations: 16.58 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.006441, allocations: 141.8 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.161e-05/0.006462, allocations: 51.36 kB / 0.5266 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.408e-05/0.006486, allocations: 5.969 kB / 0.5266 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.006532, allocations: 82.19 kB / 0.5267 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of SimCode: time 7.42e-07/0.006533, allocations: 0 / 0.5267 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.002255/0.008788, allocations: 1.288 MB / 0.5279 GB, free: 10.35 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8670907458290458]