Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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: 110.5 kB / 19.69 MB, free: 2.254 MB / 14.72 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.00236/0.00236, allocations: 216.7 kB / 23.01 MB, free: 4.566 MB / 14.72 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.204/3.204, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 78.53 kB / 1.178 GB, free: 16.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3295, allocations: 180.2 MB / 1.354 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02861/0.3581, allocations: 23.5 MB / 1.377 GB, free: 344 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02767/0.3857, allocations: 18.18 MB / 1.395 GB, free: 14.1 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005067/0.3908, allocations: 170.7 kB / 1.395 GB, free: 13.93 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0149/0.4057, allocations: 4.345 MB / 1.399 GB, free: 9.578 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01394/0.4196, allocations: 3.592 MB / 1.403 GB, free: 5.977 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004964/0.4246, allocations: 1.329 MB / 1.404 GB, free: 4.648 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01063/0.4352, allocations: 5.791 MB / 1.41 GB, free: 14.84 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005218/0.4405, allocations: 2.877 MB / 1.412 GB, free: 11.89 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00665/0.4471, allocations: 2.831 MB / 1.415 GB, free: 9.047 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005257/0.4524, allocations: 2.307 MB / 1.418 GB, free: 6.73 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001375/0.4537, allocations: 368 kB / 1.418 GB, free: 6.371 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003616/0.4574, allocations: 1.053 MB / 1.419 GB, free: 5.316 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001744/0.4591, allocations: 1.215 MB / 1.42 GB, free: 4.098 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003101/0.4622, allocations: 1.982 MB / 1.422 GB, free: 2.105 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007564/0.4698, allocations: 5.164 MB / 1.427 GB, free: 12.92 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.4698, allocations: 0 / 1.427 GB, free: 12.92 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.595e-06/0.4698, allocations: 3.938 kB / 1.427 GB, free: 12.92 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.000184/0.47, allocations: 0 / 1.427 GB, free: 12.92 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01211/0.4821, allocations: 4.635 MB / 1.432 GB, free: 8.184 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4821, allocations: 8.031 kB / 1.432 GB, free: 8.176 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0161/0.4982, allocations: 3.283 MB / 1.435 GB, free: 4.887 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00542/0.5036, allocations: 2.151 MB / 1.437 GB, free: 2.664 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004603/0.5041, allocations: 466.3 kB / 1.437 GB, free: 2.145 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006602/0.5047, allocations: 247.8 kB / 1.438 GB, free: 1.902 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.5162, allocations: 4.703 MB / 1.442 GB, free: 13.11 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.311e-05/0.5163, allocations: 11.94 kB / 1.442 GB, free: 13.09 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003454/0.5166, allocations: 108 kB / 1.442 GB, free: 12.99 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002212/0.5168, allocations: 168.8 kB / 1.442 GB, free: 12.82 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/0.5312, allocations: 5.194 MB / 1.448 GB, free: 7.609 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02494/0.5562, allocations: 14.34 MB / 1.462 GB, free: 8.086 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/0.5662, allocations: 3.254 MB / 1.465 GB, free: 4.816 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00376/0.57, allocations: 1.377 MB / 1.466 GB, free: 3.438 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.5701, allocations: 25.3 kB / 1.466 GB, free: 3.414 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004305/0.5744, allocations: 1.782 MB / 1.468 GB, free: 1.562 MB / 1.154 GB Notification: Performance of pre-optimization done (n=163): time 3.557e-06/0.5744, allocations: 0 / 1.468 GB, free: 1.562 MB / 1.154 GB Notification: Performance of matching and sorting (n=250): time 0.1246/0.699, allocations: 27.54 MB / 1.495 GB, free: 5.961 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003777/0.6993, allocations: 0.4928 MB / 1.495 GB, free: 5.359 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004119/0.7035, allocations: 2.304 MB / 1.497 GB, free: 3.043 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000385/0.7038, allocations: 77.7 kB / 1.498 GB, free: 2.961 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001402/0.7052, allocations: 1.452 MB / 1.499 GB, free: 1.496 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009119/0.7062, allocations: 0.8637 MB / 1.5 GB, free: 0.625 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008526/0.707, allocations: 416.5 kB / 1.5 GB, free: 216 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.7071, allocations: 301.1 kB / 1.5 GB, free: 15.91 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005338/0.7125, allocations: 1.929 MB / 1.502 GB, free: 13.98 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005585/0.7181, allocations: 2.235 MB / 1.505 GB, free: 11.66 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/0.7287, allocations: 4.161 MB / 1.509 GB, free: 7.363 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.7287, allocations: 4 kB / 1.509 GB, free: 7.359 MB / 1.201 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01878/0.7474, allocations: 6.482 MB / 1.515 GB, free: 0.7852 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.7476, allocations: 152.6 kB / 1.515 GB, free: 0.6055 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.7476, allocations: 4 kB / 1.515 GB, free: 0.6016 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/0.7577, allocations: 2.924 MB / 1.518 GB, free: 13.67 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002884/0.7606, allocations: 487.2 kB / 1.518 GB, free: 13.19 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04154/0.8021, allocations: 18.64 MB / 1.537 GB, free: 10.35 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004066/0.8062, allocations: 331.6 kB / 1.537 GB, free: 10.03 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/0.8065, allocations: 88.14 kB / 1.537 GB, free: 9.941 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001549/0.808, allocations: 0.7101 MB / 1.538 GB, free: 9.223 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005874/0.8086, allocations: 345.8 kB / 1.538 GB, free: 8.883 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007929/0.8094, allocations: 388.1 kB / 1.538 GB, free: 8.496 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.8094, allocations: 24 kB / 1.538 GB, free: 8.473 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-05/0.8095, allocations: 12 kB / 1.538 GB, free: 8.461 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/0.8095, allocations: 15.95 kB / 1.538 GB, free: 8.445 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005022/0.8145, allocations: 3.6 MB / 1.542 GB, free: 4.797 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.8145, allocations: 0 / 1.542 GB, free: 4.797 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002456/0.817, allocations: 415.3 kB / 1.542 GB, free: 4.391 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00996/0.8269, allocations: 2.863 MB / 1.545 GB, free: 1.523 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004237/0.8274, allocations: 51.97 kB / 1.545 GB, free: 1.473 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04058/0.868, allocations: 18.43 MB / 1.563 GB, free: 14.79 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.868, allocations: 4 kB / 1.563 GB, free: 14.79 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01859/0.8865, allocations: 6.108 MB / 1.569 GB, free: 8.645 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002231/0.8888, allocations: 0.642 MB / 1.57 GB, free: 8.004 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006525/0.8894, allocations: 51.92 kB / 1.57 GB, free: 7.953 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003306/0.8927, allocations: 315.6 kB / 1.57 GB, free: 7.645 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00118/0.8939, allocations: 366.5 kB / 1.57 GB, free: 7.285 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002106/0.8941, allocations: 67.97 kB / 1.571 GB, free: 7.219 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002342/0.8965, allocations: 1.533 MB / 1.572 GB, free: 5.688 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8965, allocations: 4 kB / 1.572 GB, free: 5.684 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003021/0.8995, allocations: 1.039 MB / 1.573 GB, free: 4.645 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003902/0.8999, allocations: 167 kB / 1.573 GB, free: 4.469 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.02319/0.9231, allocations: 6.312 MB / 1.579 GB, free: 14.07 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.9231, allocations: 4 kB / 1.579 GB, free: 14.06 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01725/0.9403, allocations: 3.916 MB / 1.583 GB, free: 10.11 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004829/0.9452, allocations: 1.143 MB / 1.584 GB, free: 9.008 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/0.9612, allocations: 7.006 MB / 1.591 GB, free: 1.961 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002212/0.9634, allocations: 2.234 MB / 1.593 GB, free: 15.69 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/0.9646, allocations: 199.4 kB / 1.594 GB, free: 15.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.753e-06/0.9646, allocations: 4 kB / 1.594 GB, free: 15.5 MB / 1.295 GB Notification: Performance of Templates: time 0.8705/1.835, allocations: 80.26 MB / 1.672 GB, free: 208.3 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 23.4791168429947] Failed to read output from testmodel.py, exit status != 0: 1.8439303539926186 1.853160839 1.380823014 Calling exit ...