Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001528/0.001528, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001586/0.001586, allocations: 217.1 kB / 23.01 MB, free: 4.602 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.593/1.593, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.877/2.877, allocations: 476.7 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002096/0.002096, allocations: 66.23 kB / 1.119 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3732, allocations: 170 MB / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02989/0.4031, allocations: 23.49 MB / 1.308 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03036/0.4334, allocations: 18.18 MB / 1.325 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005354/0.4388, allocations: 170.7 kB / 1.325 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01261/0.4514, allocations: 4.354 MB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01471/0.4661, allocations: 3.602 MB / 1.333 GB, free: 9.238 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004342/0.4704, allocations: 1.326 MB / 1.335 GB, free: 7.914 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01112/0.4816, allocations: 5.776 MB / 1.34 GB, free: 2.121 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005576/0.4871, allocations: 2.877 MB / 1.343 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00669/0.4938, allocations: 2.827 MB / 1.346 GB, free: 12.33 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005627/0.4995, allocations: 2.315 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001467/0.5009, allocations: 364 kB / 1.348 GB, free: 9.648 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003418/0.5043, allocations: 1.057 MB / 1.349 GB, free: 8.59 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001748/0.5061, allocations: 1.211 MB / 1.351 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003884/0.51, allocations: 1.986 MB / 1.353 GB, free: 5.379 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.008852/0.5188, allocations: 5.156 MB / 1.358 GB, free: 208 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.5188, allocations: 0 / 1.358 GB, free: 208 kB / 1.045 GB Notification: Performance of FrontEnd: time 2.384e-06/0.5188, allocations: 0 / 1.358 GB, free: 208 kB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001765/0.519, allocations: 3.938 kB / 1.358 GB, free: 204 kB / 1.045 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.01294/0.532, allocations: 4.639 MB / 1.362 GB, free: 11.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.532, allocations: 8.031 kB / 1.362 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/0.5481, allocations: 3.279 MB / 1.365 GB, free: 8.164 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006023/0.5541, allocations: 2.159 MB / 1.367 GB, free: 5.934 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005181/0.5546, allocations: 466.3 kB / 1.368 GB, free: 5.414 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007988/0.5554, allocations: 243.8 kB / 1.368 GB, free: 5.176 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/0.5673, allocations: 4.71 MB / 1.373 GB, free: 380 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.057e-05/0.5674, allocations: 4 kB / 1.373 GB, free: 376 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003602/0.5677, allocations: 104 kB / 1.373 GB, free: 272 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002144/0.568, allocations: 168.8 kB / 1.373 GB, free: 100 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01402/0.582, allocations: 5.194 MB / 1.378 GB, free: 10.89 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02686/0.6088, allocations: 14.35 MB / 1.392 GB, free: 11.36 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009849/0.6187, allocations: 3.258 MB / 1.395 GB, free: 8.094 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003899/0.6226, allocations: 1.373 MB / 1.397 GB, free: 6.719 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.6227, allocations: 29.28 kB / 1.397 GB, free: 6.691 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004492/0.6272, allocations: 1.782 MB / 1.398 GB, free: 4.84 MB / 1.092 GB Notification: Performance of pre-optimization done (n=163): time 3.877e-06/0.6272, allocations: 0 / 1.398 GB, free: 4.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=250): time 0.1269/0.7541, allocations: 27.54 MB / 1.425 GB, free: 9.25 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003415/0.7545, allocations: 0.4928 MB / 1.426 GB, free: 8.648 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003781/0.7583, allocations: 2.304 MB / 1.428 GB, free: 6.332 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0005421/0.7588, allocations: 81.62 kB / 1.428 GB, free: 6.246 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001512/0.7603, allocations: 1.452 MB / 1.429 GB, free: 4.781 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001093/0.7614, allocations: 0.8675 MB / 1.43 GB, free: 3.906 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009058/0.7623, allocations: 412.5 kB / 1.431 GB, free: 3.496 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.7625, allocations: 305.1 kB / 1.431 GB, free: 3.195 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005314/0.7678, allocations: 1.925 MB / 1.433 GB, free: 1.266 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00568/0.7735, allocations: 2.235 MB / 1.435 GB, free: 14.94 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/0.7845, allocations: 4.154 MB / 1.439 GB, free: 10.65 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.7845, allocations: 4 kB / 1.439 GB, free: 10.65 MB / 1.139 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01943/0.804, allocations: 6.478 MB / 1.445 GB, free: 4.074 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.8041, allocations: 148.5 kB / 1.446 GB, free: 3.898 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.8041, allocations: 7.938 kB / 1.446 GB, free: 3.891 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/0.8143, allocations: 2.925 MB / 1.448 GB, free: 0.9648 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002929/0.8173, allocations: 487.2 kB / 1.449 GB, free: 500 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04128/0.8586, allocations: 18.65 MB / 1.467 GB, free: 13.62 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004211/0.8628, allocations: 323.6 kB / 1.467 GB, free: 13.31 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004314/0.8632, allocations: 91.97 kB / 1.468 GB, free: 13.22 MB / 1.17 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.001811/0.865, allocations: 0.7063 MB / 1.468 GB, free: 12.5 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007837/0.8658, allocations: 341.9 kB / 1.469 GB, free: 12.17 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008909/0.8667, allocations: 392.1 kB / 1.469 GB, free: 11.78 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/0.8667, allocations: 24 kB / 1.469 GB, free: 11.75 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.774e-05/0.8668, allocations: 12.19 kB / 1.469 GB, free: 11.74 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/0.8668, allocations: 11.95 kB / 1.469 GB, free: 11.73 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005384/0.8722, allocations: 3.615 MB / 1.472 GB, free: 8.07 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.8722, allocations: 0 / 1.472 GB, free: 8.07 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002451/0.8746, allocations: 415.3 kB / 1.473 GB, free: 7.664 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01006/0.8847, allocations: 2.871 MB / 1.476 GB, free: 4.785 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005265/0.8852, allocations: 51.97 kB / 1.476 GB, free: 4.734 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04148/0.9267, allocations: 18.41 MB / 1.494 GB, free: 2.074 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.9267, allocations: 4 kB / 1.494 GB, free: 2.07 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/0.9451, allocations: 6.112 MB / 1.5 GB, free: 11.92 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0027/0.9478, allocations: 0.6381 MB / 1.5 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007985/0.9486, allocations: 55.92 kB / 1.5 GB, free: 11.22 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003421/0.952, allocations: 315.6 kB / 1.501 GB, free: 10.91 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001285/0.9533, allocations: 362.5 kB / 1.501 GB, free: 10.56 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002198/0.9535, allocations: 67.97 kB / 1.501 GB, free: 10.49 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002737/0.9562, allocations: 1.528 MB / 1.503 GB, free: 8.965 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9562, allocations: 4 kB / 1.503 GB, free: 8.961 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003742/0.96, allocations: 1.043 MB / 1.504 GB, free: 7.918 MB / 1.201 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.0004889/0.9605, allocations: 174.7 kB / 1.504 GB, free: 7.738 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.02317/0.9836, allocations: 6.312 MB / 1.51 GB, free: 1.336 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/0.9836, allocations: 4 kB / 1.51 GB, free: 1.332 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01734/1.001, allocations: 3.923 MB / 1.514 GB, free: 13.38 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005468/1.006, allocations: 1.139 MB / 1.515 GB, free: 12.28 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/1.023, allocations: 7.002 MB / 1.522 GB, free: 5.242 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002479/1.026, allocations: 2.234 MB / 1.524 GB, free: 2.973 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/1.027, allocations: 203.4 kB / 1.524 GB, free: 2.773 MB / 1.217 GB Notification: Performance of SimCode: time 1.754e-06/1.027, allocations: 0 / 1.524 GB, free: 2.773 MB / 1.217 GB Notification: Performance of Templates: time 0.1342/1.161, allocations: 80.27 MB / 1.602 GB, free: 2.82 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 25.15504413700546] Failed to read output from testmodel.py, exit status != 0: 1.7790407430147752 1.858944656 1.336591068 Calling exit ...