Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001597/0.001597, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001838/0.001838, allocations: 210.7 kB / 23.04 MB, free: 4.863 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.208/3.208, allocations: 0.49 GB / 0.7959 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002047/0.002047, allocations: 71.53 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3271, allocations: 176.1 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02895/0.356, allocations: 21.27 MB / 1.348 GB, free: 11.58 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02948/0.3855, allocations: 16.86 MB / 1.364 GB, free: 10.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003559/0.3891, allocations: 170.6 kB / 1.365 GB, free: 10.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01215/0.4012, allocations: 4.174 MB / 1.369 GB, free: 6.328 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01232/0.4135, allocations: 3.585 MB / 1.372 GB, free: 2.734 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004183/0.4177, allocations: 1.303 MB / 1.373 GB, free: 1.434 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009937/0.4276, allocations: 5.789 MB / 1.379 GB, free: 11.62 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004976/0.4326, allocations: 2.83 MB / 1.382 GB, free: 8.719 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006228/0.4388, allocations: 2.827 MB / 1.385 GB, free: 5.883 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004983/0.4438, allocations: 2.151 MB / 1.387 GB, free: 3.723 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.00155/0.4454, allocations: 364 kB / 1.387 GB, free: 3.367 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003435/0.4488, allocations: 0.9476 MB / 1.388 GB, free: 2.418 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001753/0.4506, allocations: 1.219 MB / 1.389 GB, free: 1.195 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003093/0.4537, allocations: 1.625 MB / 1.391 GB, free: 15.56 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.007701/0.4614, allocations: 5.203 MB / 1.396 GB, free: 10.34 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.4614, allocations: 0 / 1.396 GB, free: 10.34 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.725e-06/0.4614, allocations: 0 / 1.396 GB, free: 10.34 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000198/0.4616, allocations: 4 kB / 1.396 GB, free: 10.34 MB / 1.092 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.01295/0.4745, allocations: 4.644 MB / 1.4 GB, free: 5.594 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.4746, allocations: 8.031 kB / 1.4 GB, free: 5.586 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/0.4907, allocations: 3.279 MB / 1.404 GB, free: 2.301 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005405/0.4961, allocations: 2.162 MB / 1.406 GB, free: 64 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005424/0.4966, allocations: 462.3 kB / 1.406 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009262/0.4975, allocations: 239.9 kB / 1.406 GB, free: 15.31 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/0.5104, allocations: 5.367 MB / 1.412 GB, free: 9.691 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.412e-05/0.5105, allocations: 7.938 kB / 1.412 GB, free: 9.684 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003587/0.5108, allocations: 95.98 kB / 1.412 GB, free: 9.59 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002424/0.5111, allocations: 172.8 kB / 1.412 GB, free: 9.418 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0153/0.5264, allocations: 5.194 MB / 1.417 GB, free: 4.207 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02244/0.5488, allocations: 8.748 MB / 1.425 GB, free: 11.34 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/0.5594, allocations: 3.25 MB / 1.429 GB, free: 8.066 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004005/0.5635, allocations: 1.381 MB / 1.43 GB, free: 6.688 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/0.5636, allocations: 17.31 kB / 1.43 GB, free: 6.672 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005089/0.5687, allocations: 2.45 MB / 1.432 GB, free: 3.992 MB / 1.123 GB Notification: Performance of pre-optimization done (n=163): time 5.931e-06/0.5687, allocations: 0 / 1.432 GB, free: 3.992 MB / 1.123 GB Notification: Performance of matching and sorting (n=250): time 0.1276/0.6963, allocations: 27.52 MB / 1.459 GB, free: 8.422 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003915/0.6967, allocations: 0.4967 MB / 1.46 GB, free: 7.816 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003677/0.7004, allocations: 1.986 MB / 1.462 GB, free: 5.816 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0005364/0.7009, allocations: 81.69 kB / 1.462 GB, free: 5.73 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001586/0.7025, allocations: 1.466 MB / 1.463 GB, free: 4.258 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001155/0.7037, allocations: 0.8676 MB / 1.464 GB, free: 3.383 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009364/0.7046, allocations: 420.5 kB / 1.464 GB, free: 2.965 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.7048, allocations: 301.1 kB / 1.465 GB, free: 2.668 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005508/0.7103, allocations: 2.066 MB / 1.467 GB, free: 0.5664 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006191/0.7165, allocations: 2.774 MB / 1.469 GB, free: 13.58 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.7276, allocations: 4.165 MB / 1.474 GB, free: 9.277 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.7277, allocations: 0 / 1.474 GB, free: 9.277 MB / 1.17 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0197/0.7474, allocations: 6.596 MB / 1.48 GB, free: 2.562 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001674/0.7475, allocations: 148.5 kB / 1.48 GB, free: 2.387 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.7475, allocations: 4 kB / 1.48 GB, free: 2.383 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/0.7577, allocations: 2.928 MB / 1.483 GB, free: 15.45 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00291/0.7606, allocations: 483.2 kB / 1.483 GB, free: 14.97 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04181/0.8024, allocations: 18.19 MB / 1.501 GB, free: 12.6 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003973/0.8064, allocations: 323.6 kB / 1.502 GB, free: 12.29 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003569/0.8067, allocations: 95.97 kB / 1.502 GB, free: 12.19 MB / 1.201 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.001593/0.8083, allocations: 0.7025 MB / 1.502 GB, free: 11.48 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006335/0.809, allocations: 318 kB / 1.503 GB, free: 11.17 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008086/0.8098, allocations: 357.2 kB / 1.503 GB, free: 10.81 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.258e-05/0.8098, allocations: 24 kB / 1.503 GB, free: 10.79 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.295e-05/0.8098, allocations: 12 kB / 1.503 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/0.8099, allocations: 11.95 kB / 1.503 GB, free: 10.76 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004161/0.814, allocations: 2.731 MB / 1.506 GB, free: 7.996 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.814, allocations: 4 kB / 1.506 GB, free: 7.992 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002469/0.8165, allocations: 415.3 kB / 1.506 GB, free: 7.586 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009778/0.8263, allocations: 2.875 MB / 1.509 GB, free: 4.703 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004252/0.8267, allocations: 51.97 kB / 1.509 GB, free: 4.652 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04013/0.8668, allocations: 17.97 MB / 1.526 GB, free: 2.461 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.8668, allocations: 0 / 1.526 GB, free: 2.461 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/0.8852, allocations: 6.079 MB / 1.532 GB, free: 12.36 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001933/0.8871, allocations: 0.6032 MB / 1.533 GB, free: 11.75 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000453/0.8876, allocations: 48 kB / 1.533 GB, free: 11.7 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003023/0.8906, allocations: 319.6 kB / 1.533 GB, free: 11.39 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001312/0.8919, allocations: 362.5 kB / 1.534 GB, free: 11.04 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002225/0.8921, allocations: 71.95 kB / 1.534 GB, free: 10.96 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002027/0.8942, allocations: 1.313 MB / 1.535 GB, free: 9.645 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.8942, allocations: 0 / 1.535 GB, free: 9.645 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003013/0.8972, allocations: 1.039 MB / 1.536 GB, free: 8.605 MB / 1.232 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.0003934/0.8976, allocations: 167 kB / 1.536 GB, free: 8.43 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.02328/0.9209, allocations: 6.47 MB / 1.543 GB, free: 1.836 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.9209, allocations: 3.938 kB / 1.543 GB, free: 1.832 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.01709/0.938, allocations: 3.919 MB / 1.546 GB, free: 13.88 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004646/0.9426, allocations: 1.041 MB / 1.547 GB, free: 12.88 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/0.9584, allocations: 6.97 MB / 1.554 GB, free: 5.867 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/0.9605, allocations: 1.683 MB / 1.556 GB, free: 4.141 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.9616, allocations: 187.4 kB / 1.556 GB, free: 3.957 MB / 1.248 GB Notification: Performance of SimCode: time 1.473e-06/0.9616, allocations: 4 kB / 1.556 GB, free: 3.953 MB / 1.248 GB Notification: Performance of Templates: time 0.8338/1.795, allocations: 79.66 MB / 1.634 GB, free: 256.1 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 23.016735770972446] Failed to read output from testmodel.py, exit status != 0: 1.8044654270634055 1.815707446 1.351643916 Calling exit ...