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.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.001436/0.001436, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.001545/0.001545, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.492/1.492, allocations: 177.1 MB / 203.1 MB, free: 5.426 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.218/1.218, allocations: 154.6 MB / 414.1 MB, free: 0.5469 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.5196 GB, free: 2.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.111e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.004282/0.004314, allocations: 1.501 MB / 0.5211 GB, free: 1.07 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.006464, allocations: 0.7583 MB / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.006515, allocations: 0 / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.144e-05/0.006557, allocations: 5.031 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.307e-05/0.00664, allocations: 11.88 kB / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007945/0.007434, allocations: 141.1 kB / 0.5219 GB, free: 164 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.007587, allocations: 55.78 kB / 0.522 GB, free: 108 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.007709, allocations: 9.5 kB / 0.522 GB, free: 100 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.007817, allocations: 31.95 kB / 0.522 GB, free: 68 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.226e-05/0.007889, allocations: 19.92 kB / 0.5221 GB, free: 48 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.007911, allocations: 4 kB / 0.5221 GB, free: 44 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005531/0.008464, allocations: 164.8 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.00849, allocations: 8 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.008543, allocations: 19.91 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004841/0.009027, allocations: 168.2 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.009031, allocations: 4 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.32e-07/0.009032, allocations: 1.281 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.009037, allocations: 0 / 0.5224 GB, free: 15.69 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008499/0.009887, allocations: 323 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.009937, allocations: 12.03 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.191e-05/0.009999, allocations: 4.938 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.01017, allocations: 118.4 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.01019, allocations: 4.375 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.01021, allocations: 5.219 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.0106, allocations: 76.77 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.01061, allocations: 192 / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.01062, allocations: 384 / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.01063, allocations: 384 / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.0111, allocations: 72.55 kB / 0.523 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.01162, allocations: 221.6 kB / 0.5232 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.01194, allocations: 55.09 kB / 0.5233 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.01218, allocations: 38.42 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/0.01238, allocations: 16.55 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.049e-05/0.01244, allocations: 38.5 kB / 0.5234 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.01244, allocations: 0.9688 kB / 0.5234 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0008721/0.01331, allocations: 132.1 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.01338, allocations: 51.41 kB / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/0.01383, allocations: 113.8 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.01386, allocations: 26.42 kB / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.297e-05/0.01395, allocations: 104 kB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.01397, allocations: 7.047 kB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.01403, allocations: 21.7 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002202/0.01425, allocations: 310.8 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.01447, allocations: 31.97 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.01465, allocations: 31.95 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.01503, allocations: 75.16 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01503, allocations: 0 / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004915/0.01552, allocations: 102.7 kB / 0.5243 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.01554, allocations: 8.875 kB / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01555, allocations: 0 / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.01557, allocations: 1.156 kB / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.01573, allocations: 11.98 kB / 0.5243 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.01575, allocations: 8.516 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.01587, allocations: 14.83 kB / 0.5244 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.01588, allocations: 8 kB / 0.5244 GB, free: 13.53 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 (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 0.0001311/0.01601, allocations: 105.8 kB / 0.5245 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.01607, allocations: 11.89 kB / 0.5245 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005946/0.01666, allocations: 112.6 kB / 0.5246 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01667, allocations: 0 / 0.5246 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.01667, allocations: 0 / 0.5246 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01668, allocations: 0 / 0.5246 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.01693, allocations: 113.3 kB / 0.5247 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01693, allocations: 0 / 0.5247 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.01707, allocations: 19.97 kB / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01707, allocations: 1.406 kB / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.01709, allocations: 3.938 kB / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.01709, allocations: 4 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.0171, allocations: 3.984 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005908/0.01769, allocations: 189.5 kB / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.01771, allocations: 11.94 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.01774, allocations: 9.438 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.01793, allocations: 12.41 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.01799, allocations: 3.984 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.018, allocations: 0.9688 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001097/0.01811, allocations: 91.59 kB / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01811, allocations: 3.938 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005007/0.01861, allocations: 40.45 kB / 0.5251 GB, free: 12.75 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 (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.0003433/0.01895, allocations: 128.4 kB / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005173/0.01947, allocations: 70 kB / 0.5253 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01947, allocations: 0 / 0.5253 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.01971, allocations: 45.73 kB / 0.5253 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.02021, allocations: 4 kB / 0.5253 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005465/0.02076, allocations: 154.8 kB / 0.5255 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.02088, allocations: 71.2 kB / 0.5255 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.729e-05/0.02093, allocations: 3.984 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.664e-05/0.021, allocations: 14.44 kB / 0.5255 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.021, allocations: 0 / 0.5255 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of Templates: time 0.006415/0.02741, allocations: 1.416 MB / 0.5269 GB, free: 10.89 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.963585551013239]