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.001334/0.001334, allocations: 115.8 kB / 17.13 MB, free: 5.926 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.001432/0.001432, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.537/1.537, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.003/3.003, allocations: 0.49 GB / 0.7923 GB, free: 1.34 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.002085/0.002085, allocations: 63.91 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9564/0.9584, allocations: 176.1 MB / 1.322 GB, free: 25.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0225/0.9809, allocations: 22.96 MB / 1.344 GB, free: 9.504 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02678/1.008, allocations: 17.83 MB / 1.362 GB, free: 13.14 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004737/1.012, allocations: 172 kB / 1.362 GB, free: 13.05 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01225/1.025, allocations: 4.212 MB / 1.366 GB, free: 10.55 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0135/1.038, allocations: 3.577 MB / 1.37 GB, free: 8.395 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004752/1.043, allocations: 1.303 MB / 1.371 GB, free: 7.711 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01239/1.055, allocations: 5.784 MB / 1.376 GB, free: 5.008 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005796/1.061, allocations: 2.807 MB / 1.379 GB, free: 3.594 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007611/1.069, allocations: 2.822 MB / 1.382 GB, free: 2.484 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006713/1.075, allocations: 2.309 MB / 1.384 GB, free: 1.469 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002985/1.078, allocations: 365.4 kB / 1.385 GB, free: 1.469 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0059/1.084, allocations: 1.052 MB / 1.386 GB, free: 1.199 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003432/1.088, allocations: 1.211 MB / 1.387 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.006715/1.095, allocations: 1.983 MB / 1.389 GB, free: 15.37 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01311/1.108, allocations: 5.159 MB / 1.394 GB, free: 13.45 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.108, allocations: 0 / 1.394 GB, free: 13.45 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.835e-06/1.108, allocations: 1.406 kB / 1.394 GB, free: 13.45 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002451/1.108, allocations: 0 / 1.394 GB, free: 13.45 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.01833/1.126, allocations: 4.714 MB / 1.398 GB, free: 10.75 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/1.126, allocations: 13.64 kB / 1.398 GB, free: 10.75 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01845/1.145, allocations: 3.276 MB / 1.402 GB, free: 10.36 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007077/1.152, allocations: 2.273 MB / 1.404 GB, free: 9.121 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000636/1.152, allocations: 461.4 kB / 1.404 GB, free: 8.727 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/1.154, allocations: 236.2 kB / 1.404 GB, free: 8.648 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01633/1.17, allocations: 4.72 MB / 1.409 GB, free: 5.961 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.194e-05/1.17, allocations: 1.094 kB / 1.409 GB, free: 5.961 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005041/1.171, allocations: 100.4 kB / 1.409 GB, free: 5.887 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002741/1.171, allocations: 172.5 kB / 1.409 GB, free: 5.844 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01728/1.188, allocations: 5.198 MB / 1.414 GB, free: 3.223 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03021/1.219, allocations: 14.4 MB / 1.428 GB, free: 6.73 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/1.23, allocations: 3.253 MB / 1.432 GB, free: 5.074 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004513/1.234, allocations: 1.38 MB / 1.433 GB, free: 4.375 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001852/1.235, allocations: 25.73 kB / 1.433 GB, free: 4.363 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005217/1.24, allocations: 1.783 MB / 1.435 GB, free: 3.258 MB / 1.107 GB Notification: Performance of pre-optimization done (n=163): time 5.891e-06/1.24, allocations: 0 / 1.435 GB, free: 3.258 MB / 1.107 GB Notification: Performance of matching and sorting (n=250): time 0.1394/1.379, allocations: 28.24 MB / 1.462 GB, free: 8.203 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003739/1.38, allocations: 0.4928 MB / 1.463 GB, free: 7.602 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003957/1.383, allocations: 2.296 MB / 1.465 GB, free: 5.293 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0006527/1.384, allocations: 81.69 kB / 1.465 GB, free: 5.207 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001574/1.386, allocations: 1.452 MB / 1.467 GB, free: 3.742 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001375/1.387, allocations: 0.8637 MB / 1.467 GB, free: 2.871 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000985/1.388, allocations: 416.5 kB / 1.468 GB, free: 2.457 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.388, allocations: 301.1 kB / 1.468 GB, free: 2.16 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005802/1.394, allocations: 1.929 MB / 1.47 GB, free: 232 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006306/1.4, allocations: 2.239 MB / 1.472 GB, free: 13.9 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/1.413, allocations: 4.154 MB / 1.476 GB, free: 9.613 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/1.413, allocations: 3.938 kB / 1.476 GB, free: 9.609 MB / 1.154 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02125/1.434, allocations: 6.475 MB / 1.483 GB, free: 3.043 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001633/1.434, allocations: 148.5 kB / 1.483 GB, free: 2.867 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/1.434, allocations: 7.984 kB / 1.483 GB, free: 2.859 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/1.445, allocations: 2.938 MB / 1.486 GB, free: 15.91 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003257/1.448, allocations: 487.2 kB / 1.486 GB, free: 15.44 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0448/1.493, allocations: 18.85 MB / 1.504 GB, free: 12.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00505/1.498, allocations: 323.6 kB / 1.505 GB, free: 12.02 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005888/1.499, allocations: 95.97 kB / 1.505 GB, free: 11.93 MB / 1.186 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.002042/1.501, allocations: 0.7105 MB / 1.506 GB, free: 11.21 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009508/1.502, allocations: 349.8 kB / 1.506 GB, free: 10.86 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/1.503, allocations: 380.1 kB / 1.506 GB, free: 10.48 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.914e-05/1.503, allocations: 24 kB / 1.506 GB, free: 10.46 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.802e-05/1.503, allocations: 12 kB / 1.506 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/1.503, allocations: 11.95 kB / 1.506 GB, free: 10.44 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006124/1.509, allocations: 3.62 MB / 1.51 GB, free: 6.762 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/1.509, allocations: 0 / 1.51 GB, free: 6.762 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002777/1.512, allocations: 419.3 kB / 1.51 GB, free: 6.352 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01101/1.523, allocations: 2.868 MB / 1.513 GB, free: 3.477 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006374/1.524, allocations: 51.97 kB / 1.513 GB, free: 3.426 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04373/1.567, allocations: 18.63 MB / 1.531 GB, free: 500 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.567, allocations: 8.172 kB / 1.531 GB, free: 492 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02054/1.588, allocations: 6.112 MB / 1.537 GB, free: 10.34 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002675/1.591, allocations: 0.7173 MB / 1.538 GB, free: 9.598 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/1.592, allocations: 51.92 kB / 1.538 GB, free: 9.547 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003877/1.595, allocations: 315.6 kB / 1.538 GB, free: 9.238 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001305/1.597, allocations: 358.7 kB / 1.539 GB, free: 8.887 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002428/1.597, allocations: 67.97 kB / 1.539 GB, free: 8.82 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002586/1.6, allocations: 1.536 MB / 1.54 GB, free: 7.285 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/1.6, allocations: 4 kB / 1.54 GB, free: 7.281 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.004024/1.604, allocations: 1.039 MB / 1.541 GB, free: 6.242 MB / 1.217 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.0004636/1.604, allocations: 167 kB / 1.541 GB, free: 6.07 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.02547/1.629, allocations: 6.312 MB / 1.548 GB, free: 15.66 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/1.63, allocations: 0.75 kB / 1.548 GB, free: 15.66 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.01937/1.649, allocations: 3.923 MB / 1.551 GB, free: 11.71 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006793/1.656, allocations: 1.133 MB / 1.552 GB, free: 10.62 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/1.674, allocations: 6.995 MB / 1.559 GB, free: 3.59 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002463/1.676, allocations: 2.227 MB / 1.561 GB, free: 1.328 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001463/1.678, allocations: 207.4 kB / 1.562 GB, free: 1.125 MB / 1.232 GB Notification: Performance of SimCode: time 2.445e-06/1.678, allocations: 0 / 1.562 GB, free: 1.125 MB / 1.232 GB Notification: Performance of Templates: time 0.1246/1.802, allocations: 80.26 MB / 1.64 GB, free: 1.188 MB / 1.311 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.79997788000037] Failed to read output from testmodel.py, exit status != 0: 1.812112031999277 1.824766063 0.713895455 Calling exit ...