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.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.002447/0.002447, allocations: 85.48 kB / 19.44 MB, free: 344 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.002664/0.002664, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.361/1.361, allocations: 154.6 MB / 414.1 MB, free: 0.6328 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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.5196 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.958e-05, allocations: 4.422 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002997/0.003027, allocations: 1.285 MB / 0.5209 GB, free: 1.258 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.004634, allocations: 0.824 MB / 0.5217 GB, free: 448 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.14e-05/0.004655, allocations: 0 / 0.5217 GB, free: 448 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.004672, allocations: 0.5 kB / 0.5217 GB, free: 448 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.039e-05/0.004722, allocations: 8.625 kB / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.005236, allocations: 140.1 kB / 0.5218 GB, free: 300 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.71e-05/0.005323, allocations: 28.83 kB / 0.5219 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.005362, allocations: 0 / 0.5219 GB, free: 272 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.005433, allocations: 16.89 kB / 0.5219 GB, free: 256 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.73e-05/0.0055, allocations: 11.98 kB / 0.5219 GB, free: 244 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.005524, allocations: 4 kB / 0.5219 GB, free: 240 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003576/0.005882, allocations: 164.2 kB / 0.522 GB, free: 76 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.0059, allocations: 0.9688 kB / 0.522 GB, free: 76 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.005925, allocations: 4 kB / 0.522 GB, free: 72 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.006249, allocations: 139.6 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.006253, allocations: 0.5 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.242e-06/0.006254, allocations: 1.031 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.006259, allocations: 0 / 0.5222 GB, free: 15.93 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.0006162/0.006876, allocations: 389.2 kB / 0.5226 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.006921, allocations: 12.03 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.591e-05/0.006987, allocations: 8.891 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.007121, allocations: 112.5 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.007233, allocations: 56.59 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.007246, allocations: 5.906 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.007412, allocations: 67.94 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.007423, allocations: 4.172 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.007435, allocations: 4.375 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.007442, allocations: 5 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.664e-05/0.007529, allocations: 12 kB / 0.5228 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.007731, allocations: 116.6 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.007978, allocations: 56.06 kB / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/0.008031, allocations: 11.69 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002395/0.00827, allocations: 34.06 kB / 0.523 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.008304, allocations: 33.39 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.008305, allocations: 4.469 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0002994/0.008605, allocations: 65.67 kB / 0.5231 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.008647, allocations: 56.06 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.008776, allocations: 161.9 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.008806, allocations: 26.45 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.008876, allocations: 126.9 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.008915, allocations: 20.39 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.008956, allocations: 20.22 kB / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002702/0.009227, allocations: 496.1 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.219e-05/0.009269, allocations: 10.89 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/0.0093, allocations: 8 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.805e-05/0.009388, allocations: 27.67 kB / 0.524 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.00939, allocations: 0 / 0.524 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001884/0.009579, allocations: 69.58 kB / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.009592, allocations: 4 kB / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.009596, allocations: 0 / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.009612, allocations: 0 / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.318e-05/0.009665, allocations: 13.48 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.009674, allocations: 3.938 kB / 0.5241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.388e-05/0.009698, allocations: 0 / 0.5241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.009703, allocations: 0 / 0.5241 GB, free: 13.72 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 0.0001223/0.009826, allocations: 157.1 kB / 0.5243 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.00984, allocations: 5.219 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.01002, allocations: 65.86 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01002, allocations: 3.938 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01002, allocations: 2.75 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.01003, allocations: 3.984 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.01016, allocations: 128.5 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01016, allocations: 0 / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.01021, allocations: 4 kB / 0.5245 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01021, allocations: 0 / 0.5245 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.01022, allocations: 8 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.01022, allocations: 0 / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.01022, allocations: 2.438 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.01042, allocations: 96.31 kB / 0.5246 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.01045, allocations: 4 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.01047, allocations: 7.938 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.016e-05/0.01052, allocations: 3.984 kB / 0.5246 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.01058, allocations: 4 kB / 0.5246 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.01058, allocations: 4.594 kB / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.203e-05/0.01066, allocations: 127.1 kB / 0.5247 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01066, allocations: 1 kB / 0.5247 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002407/0.0109, allocations: 39.86 kB / 0.5248 GB, free: 13 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.0002865/0.01119, allocations: 136.4 kB / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.01136, allocations: 31.67 kB / 0.5249 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01136, allocations: 0.6562 kB / 0.5249 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.511e-05/0.01143, allocations: 31.05 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.01163, allocations: 15.88 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.01198, allocations: 118.3 kB / 0.5251 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.474e-05/0.01205, allocations: 63.34 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.84e-05/0.01209, allocations: 2.781 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/0.01212, allocations: 12.5 kB / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of SimCode: time 4.1e-07/0.01212, allocations: 0 / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.004574/0.0167, allocations: 1.148 MB / 0.5263 GB, free: 11.47 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.076011458062567]