Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.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.001613/0.001613, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.001833/0.001833, allocations: 157.6 kB / 23.52 MB, free: 0.918 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.502/1.502, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9594/0.9594, allocations: 115 MB / 375.3 MB, free: 7.566 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 480.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/2.947e-05, allocations: 3.594 kB / 480.8 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.006874/0.006904, allocations: 5.965 MB / 486.7 MB, free: 8.133 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006008/0.01291, allocations: 4.309 MB / 491 MB, free: 5.383 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004317/0.01334, allocations: 38.44 kB / 491.1 MB, free: 5.363 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002208/0.01555, allocations: 0.9219 MB / 492 MB, free: 4.848 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.01724, allocations: 0.8034 MB / 492.8 MB, free: 4.371 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006164/0.01786, allocations: 320.6 kB / 493.1 MB, free: 4.211 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.01896, allocations: 1.2 MB / 494.3 MB, free: 3.625 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006556/0.01962, allocations: 0.5702 MB / 494.9 MB, free: 3.332 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008031/0.02042, allocations: 0.7202 MB / 495.6 MB, free: 3.047 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005647/0.02099, allocations: 415.2 kB / 496 MB, free: 2.918 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.02109, allocations: 68.72 kB / 496.1 MB, free: 2.918 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004766/0.02157, allocations: 262.3 kB / 496.3 MB, free: 2.848 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.02177, allocations: 267.7 kB / 496.6 MB, free: 2.711 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002945/0.02207, allocations: 280.3 kB / 496.9 MB, free: 2.594 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.02311, allocations: 1.092 MB / 498 MB, free: 2.215 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.02311, allocations: 0 / 498 MB, free: 2.215 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02312, allocations: 1.469 kB / 498 MB, free: 2.215 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.02313, allocations: 1.375 kB / 498 MB, free: 2.215 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001849/0.02498, allocations: 1.035 MB / 499 MB, free: 1.531 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.02501, allocations: 15.09 kB / 499 MB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003301/0.02831, allocations: 0.7138 MB / 499.7 MB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009048/0.02922, allocations: 0.5377 MB / 0.4885 GB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/0.02925, allocations: 38.25 kB / 0.4886 GB, free: 1.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.629e-05/0.02935, allocations: 57.19 kB / 0.4886 GB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.03136, allocations: 1.16 MB / 0.4898 GB, free: 496 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.03138, allocations: 9 kB / 0.4898 GB, free: 488 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-05/0.03145, allocations: 22.58 kB / 0.4898 GB, free: 472 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.096e-05/0.03153, allocations: 46.55 kB / 0.4898 GB, free: 468 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.03385, allocations: 1.005 MB / 0.4908 GB, free: 172 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004194/0.03805, allocations: 2.283 MB / 0.493 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.03973, allocations: 488.7 kB / 0.4935 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005987/0.04033, allocations: 208.4 kB / 0.4937 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.35e-05/0.04037, allocations: 14.67 kB / 0.4937 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.04041, allocations: 35.27 kB / 0.4938 GB, free: 14.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 1.714e-06/0.04041, allocations: 0 / 0.4938 GB, free: 14.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=43): time 0.008496/0.04891, allocations: 2.028 MB / 0.4957 GB, free: 12.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.04897, allocations: 55.41 kB / 0.4958 GB, free: 12.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007288/0.0497, allocations: 488.7 kB / 0.4963 GB, free: 12.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.303e-05/0.04976, allocations: 33.7 kB / 0.4963 GB, free: 12.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000342/0.0501, allocations: 369.3 kB / 0.4966 GB, free: 11.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.05028, allocations: 157.9 kB / 0.4968 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.05048, allocations: 90.38 kB / 0.4969 GB, free: 11.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002533/0.05073, allocations: 364.8 kB / 0.4972 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007716/0.0515, allocations: 271.3 kB / 0.4975 GB, free: 11.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008854/0.05239, allocations: 377.2 kB / 0.4978 GB, free: 10.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.05409, allocations: 0.6521 MB / 0.4985 GB, free: 10.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.05409, allocations: 0 / 0.4985 GB, free: 10.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.003127/0.05721, allocations: 1.002 MB / 0.4995 GB, free: 9.281 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.05724, allocations: 8.969 kB / 0.4995 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.05725, allocations: 8.609 kB / 0.4995 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002584/0.05984, allocations: 441.1 kB / 0.4999 GB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000683/0.06052, allocations: 113.2 kB / 0.5 GB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.07093, allocations: 8.523 MB / 0.5083 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008572/0.07179, allocations: 43.89 kB / 0.5084 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/0.07185, allocations: 20 kB / 0.5084 GB, free: 15.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001147/0.073, allocations: 448.9 kB / 0.5088 GB, free: 15.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008658/0.07386, allocations: 360.8 kB / 0.5092 GB, free: 14.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001602/0.07546, allocations: 0.6364 MB / 0.5098 GB, free: 14.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.28e-06/0.07547, allocations: 4 kB / 0.5098 GB, free: 14.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002872/0.07834, allocations: 0.9578 MB / 0.5107 GB, free: 13.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.07837, allocations: 8 kB / 0.5107 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.07838, allocations: 4 kB / 0.5107 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001887/0.08027, allocations: 361.2 kB / 0.5111 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006647/0.08093, allocations: 123.8 kB / 0.5112 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009623/0.09055, allocations: 8.378 MB / 0.5194 GB, free: 3.656 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007805/0.09134, allocations: 43.94 kB / 0.5194 GB, free: 3.613 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/0.09139, allocations: 20 kB / 0.5194 GB, free: 3.594 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002732/0.09166, allocations: 208.3 kB / 0.5196 GB, free: 3.383 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.09182, allocations: 75.56 kB / 0.5197 GB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.09201, allocations: 77.81 kB / 0.5198 GB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.09202, allocations: 11.92 kB / 0.5198 GB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.09203, allocations: 4 kB / 0.5198 GB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.09204, allocations: 3.984 kB / 0.5198 GB, free: 3.211 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008745/0.09292, allocations: 477 kB / 0.5203 GB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.09292, allocations: 4 kB / 0.5203 GB, free: 2.711 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/0.09348, allocations: 95.84 kB / 0.5204 GB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002153/0.09563, allocations: 404.7 kB / 0.5207 GB, free: 2.203 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.09568, allocations: 15.92 kB / 0.5208 GB, free: 2.188 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009623/0.1053, allocations: 8.394 MB / 0.529 GB, free: 9.176 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1053, allocations: 0 / 0.529 GB, free: 9.176 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/0.1083, allocations: 0.9564 MB / 0.5299 GB, free: 8.184 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.1086, allocations: 107.5 kB / 0.53 GB, free: 8.078 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.054e-05/0.1087, allocations: 12 kB / 0.53 GB, free: 8.066 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005427/0.1092, allocations: 31.95 kB / 0.53 GB, free: 8.035 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.1094, allocations: 47.86 kB / 0.5301 GB, free: 7.988 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.1094, allocations: 12 kB / 0.5301 GB, free: 7.977 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004789/0.1099, allocations: 334.9 kB / 0.5304 GB, free: 7.652 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1099, allocations: 0 / 0.5304 GB, free: 7.652 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001283/0.1112, allocations: 304 kB / 0.5307 GB, free: 7.355 MB / 458.7 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 (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001831/0.1114, allocations: 111.2 kB / 0.5308 GB, free: 7.238 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004953/0.1163, allocations: 2.352 MB / 0.5331 GB, free: 4.73 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.1163, allocations: 0 / 0.5331 GB, free: 4.73 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001794/0.1181, allocations: 0.9956 MB / 0.5341 GB, free: 3.656 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.1193, allocations: 222.4 kB / 0.5343 GB, free: 3.453 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.1222, allocations: 1.322 MB / 0.5356 GB, free: 2.094 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/0.1228, allocations: 383.2 kB / 0.5359 GB, free: 1.695 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005821/0.1233, allocations: 136.9 kB / 0.5361 GB, free: 1.562 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.1235, allocations: 48.48 kB / 0.5361 GB, free: 1.512 MB / 458.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1235, allocations: 0 / 0.5361 GB, free: 1.512 MB / 458.7 MB Notification: Performance of Templates: time 0.02864/0.1521, allocations: 14.37 MB / 0.5502 GB, free: 3.438 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.290270590106957]