Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.001776/0.001776, 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.00195/0.00195, 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.552/1.552, allocations: 177.1 MB / 203.1 MB, free: 5.273 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.327/1.327, allocations: 154.6 MB / 414.1 MB, free: 0.5977 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.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.157e-06/4.157e-06, allocations: 0 / 0.5196 GB, free: 2.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.486e-05/5.902e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.566 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.005577/0.005636, allocations: 1.517 MB / 0.5211 GB, free: 1.059 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005177/0.006154, allocations: 132.3 kB / 0.5212 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.897e-05/0.006223, allocations: 0 / 0.5212 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.934e-05/0.006282, allocations: 11.86 kB / 0.5212 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.408e-05/0.006376, allocations: 5.406 kB / 0.5212 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004599/0.006836, allocations: 67.89 kB / 0.5213 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.00703, allocations: 62.22 kB / 0.5213 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.007168, allocations: 15.92 kB / 0.5214 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.007308, allocations: 39.91 kB / 0.5214 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.881e-05/0.007387, allocations: 11.97 kB / 0.5214 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.007421, allocations: 4 kB / 0.5214 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.502e-05/0.007446, allocations: 8 kB / 0.5214 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.096e-05/0.007487, allocations: 16.42 kB / 0.5214 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.007537, allocations: 17.45 kB / 0.5215 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.00773, allocations: 59.84 kB / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.007733, allocations: 0 / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.007734, allocations: 0 / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.00774, allocations: 0.9688 kB / 0.5215 GB, free: 0.6211 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007933/0.008533, allocations: 392.2 kB / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.008589, allocations: 13 kB / 0.5219 GB, free: 192 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.008668, allocations: 8.891 kB / 0.5219 GB, free: 184 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.00885, allocations: 124.4 kB / 0.522 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.008991, allocations: 52.97 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.009018, allocations: 8.375 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.009328, allocations: 96.64 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.00934, allocations: 0.6875 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.009358, allocations: 384 / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.009366, allocations: 5.344 kB / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.009561, allocations: 39.95 kB / 0.5222 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008272/0.01039, allocations: 304.3 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.01057, allocations: 52.8 kB / 0.5226 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.01068, allocations: 27.77 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.0107, allocations: 3.938 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/0.01076, allocations: 43.11 kB / 0.5226 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.01076, allocations: 0 / 0.5226 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0004499/0.01121, allocations: 85.55 kB / 0.5227 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.01128, allocations: 55.41 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.01146, allocations: 171.3 kB / 0.5229 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.0115, allocations: 29.7 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.01161, allocations: 134.8 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.01165, allocations: 20.38 kB / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.478e-05/0.01171, allocations: 27.36 kB / 0.5231 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003378/0.01205, allocations: 492.9 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.476e-05/0.01215, allocations: 25.55 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.01226, allocations: 35.36 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.01246, allocations: 55.3 kB / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01246, allocations: 2.406 kB / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002688/0.01273, allocations: 81.55 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.01275, allocations: 4 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01275, allocations: 0 / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.01277, allocations: 4 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.0129, allocations: 10.75 kB / 0.5238 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.0129, allocations: 0 / 0.5238 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.01297, allocations: 11.98 kB / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.01298, allocations: 0 / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0001587/0.01314, allocations: 156.6 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.0132, allocations: 15.89 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.01323, allocations: 5.25 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01323, allocations: 0 / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.01323, allocations: 0 / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01324, allocations: 0 / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.01349, allocations: 133.6 kB / 0.5241 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.0135, allocations: 0 / 0.5241 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.128e-05/0.01358, allocations: 12.92 kB / 0.5241 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.01358, allocations: 3.938 kB / 0.5241 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.01359, allocations: 0 / 0.5241 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.0136, allocations: 8.844 kB / 0.5241 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.0136, allocations: 0 / 0.5241 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.01397, allocations: 222 kB / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.01399, allocations: 8.031 kB / 0.5244 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.01401, allocations: 3.938 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.01417, allocations: 7.984 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.01422, allocations: 4.656 kB / 0.5244 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.01424, allocations: 8.109 kB / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001132/0.01435, allocations: 131.8 kB / 0.5245 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.81e-07/0.01435, allocations: 0 / 0.5245 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003833/0.01473, allocations: 8.656 kB / 0.5245 GB, free: 13.26 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.0001673/0.0149, allocations: 96.28 kB / 0.5246 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002808/0.01518, allocations: 58.06 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.01519, allocations: 4 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.01529, allocations: 27.67 kB / 0.5247 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.01571, allocations: 15.92 kB / 0.5247 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004899/0.0162, allocations: 150 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.947e-05/0.0163, allocations: 70.33 kB / 0.5249 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.384e-05/0.01636, allocations: 7.984 kB / 0.5249 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.01641, allocations: 12.5 kB / 0.5249 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of SimCode: time 7.91e-07/0.01641, allocations: 0 / 0.5249 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.004758/0.02117, allocations: 0.845 MB / 0.5258 GB, free: 11.96 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.967817911063321]