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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 107 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 250 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.14/3.14, allocations: 489.7 MB / 0.7761 GB, free: 33.62 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=522,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=522,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 71.67 kB / 1.127 GB, free: 36.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3043, allocations: 172.1 MB / 1.295 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03358/0.3379, allocations: 22.94 MB / 1.317 GB, free: 4.699 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03021/0.3681, allocations: 17.79 MB / 1.335 GB, free: 2.852 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003115/0.3712, allocations: 111.4 kB / 1.335 GB, free: 2.742 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01158/0.3828, allocations: 4.229 MB / 1.339 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01108/0.3939, allocations: 3.572 MB / 1.342 GB, free: 10.92 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003953/0.3979, allocations: 1.324 MB / 1.344 GB, free: 9.602 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.009537/0.4074, allocations: 5.773 MB / 1.349 GB, free: 3.809 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004713/0.4121, allocations: 2.804 MB / 1.352 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004776/0.4169, allocations: 2.48 MB / 1.354 GB, free: 14.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005659/0.4225, allocations: 2.498 MB / 1.357 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001278/0.4238, allocations: 372 kB / 1.357 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002954/0.4268, allocations: 1.057 MB / 1.358 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001689/0.4285, allocations: 1.226 MB / 1.359 GB, free: 9.285 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003278/0.4317, allocations: 2.002 MB / 1.361 GB, free: 7.273 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007823/0.4396, allocations: 5.187 MB / 1.367 GB, free: 2.066 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4396, allocations: 0 / 1.367 GB, free: 2.066 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4396, allocations: 0 / 1.367 GB, free: 2.066 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001558/0.4397, allocations: 0 / 1.367 GB, free: 2.066 MB / 1.061 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.01222/0.4519, allocations: 4.722 MB / 1.371 GB, free: 13.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.452, allocations: 12.03 kB / 1.371 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01647/0.4685, allocations: 3.283 MB / 1.374 GB, free: 9.926 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005427/0.4739, allocations: 2.246 MB / 1.377 GB, free: 7.613 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005095/0.4744, allocations: 470.3 kB / 1.377 GB, free: 7.09 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007839/0.4752, allocations: 239.9 kB / 1.377 GB, free: 6.855 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/0.4877, allocations: 4.81 MB / 1.382 GB, free: 1.898 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.115e-05/0.4877, allocations: 3.984 kB / 1.382 GB, free: 1.895 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004089/0.4881, allocations: 107.9 kB / 1.382 GB, free: 1.789 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002311/0.4884, allocations: 168.8 kB / 1.382 GB, free: 1.621 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01488/0.5033, allocations: 5.194 MB / 1.387 GB, free: 12.41 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02633/0.5296, allocations: 14.42 MB / 1.401 GB, free: 12.82 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/0.54, allocations: 3.266 MB / 1.405 GB, free: 9.543 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003967/0.544, allocations: 1.373 MB / 1.406 GB, free: 8.168 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.5441, allocations: 29.28 kB / 1.406 GB, free: 8.137 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004634/0.5488, allocations: 1.79 MB / 1.408 GB, free: 6.281 MB / 1.107 GB Notification: Performance of pre-optimization done (n=163): time 3.827e-06/0.5488, allocations: 0 / 1.408 GB, free: 6.281 MB / 1.107 GB Notification: Performance of matching and sorting (n=250): time 0.1325/0.6812, allocations: 28.21 MB / 1.435 GB, free: 9.855 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003225/0.6816, allocations: 0.4889 MB / 1.436 GB, free: 9.258 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003694/0.6853, allocations: 2.312 MB / 1.438 GB, free: 6.934 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0004915/0.6858, allocations: 73.7 kB / 1.438 GB, free: 6.855 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001521/0.6873, allocations: 1.452 MB / 1.439 GB, free: 5.391 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001179/0.6885, allocations: 0.8636 MB / 1.44 GB, free: 4.52 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009526/0.6894, allocations: 416.6 kB / 1.441 GB, free: 4.105 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6896, allocations: 301.1 kB / 1.441 GB, free: 3.809 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005587/0.6951, allocations: 1.929 MB / 1.443 GB, free: 1.875 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006058/0.7012, allocations: 2.237 MB / 1.445 GB, free: 15.55 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01138/0.7126, allocations: 4.165 MB / 1.449 GB, free: 11.25 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.7126, allocations: 0 / 1.449 GB, free: 11.25 MB / 1.154 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01978/0.7324, allocations: 6.479 MB / 1.455 GB, free: 4.68 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.7325, allocations: 144.5 kB / 1.456 GB, free: 4.508 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.7325, allocations: 4 kB / 1.456 GB, free: 4.504 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01068/0.7432, allocations: 2.934 MB / 1.458 GB, free: 1.566 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002936/0.7461, allocations: 491.2 kB / 1.459 GB, free: 1.086 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04417/0.7903, allocations: 18.86 MB / 1.477 GB, free: 13.97 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004145/0.7944, allocations: 319.6 kB / 1.478 GB, free: 13.66 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003708/0.7948, allocations: 87.97 kB / 1.478 GB, free: 13.57 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.00167/0.7965, allocations: 0.7071 MB / 1.478 GB, free: 12.86 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007281/0.7972, allocations: 345.9 kB / 1.479 GB, free: 12.52 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009046/0.7981, allocations: 384.1 kB / 1.479 GB, free: 12.13 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/0.7981, allocations: 24 kB / 1.479 GB, free: 12.11 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.96e-05/0.7982, allocations: 11.94 kB / 1.479 GB, free: 12.1 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/0.7982, allocations: 15.95 kB / 1.479 GB, free: 12.08 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00555/0.8038, allocations: 3.628 MB / 1.483 GB, free: 8.398 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.8038, allocations: 0 / 1.483 GB, free: 8.398 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002669/0.8064, allocations: 415.4 kB / 1.483 GB, free: 7.992 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01093/0.8174, allocations: 2.872 MB / 1.486 GB, free: 5.109 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004306/0.8178, allocations: 51.97 kB / 1.486 GB, free: 5.059 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04324/0.861, allocations: 18.64 MB / 1.504 GB, free: 2.125 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.861, allocations: 0 / 1.504 GB, free: 2.125 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02008/0.8811, allocations: 6.104 MB / 1.51 GB, free: 11.99 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002232/0.8834, allocations: 0.7173 MB / 1.511 GB, free: 11.25 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008563/0.8842, allocations: 55.92 kB / 1.511 GB, free: 11.2 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003791/0.888, allocations: 311.6 kB / 1.511 GB, free: 10.89 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001505/0.8895, allocations: 350.7 kB / 1.511 GB, free: 10.55 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003759/0.8899, allocations: 75.97 kB / 1.512 GB, free: 10.47 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003033/0.8929, allocations: 1.532 MB / 1.513 GB, free: 8.941 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8929, allocations: 0 / 1.513 GB, free: 8.941 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.004107/0.897, allocations: 1.047 MB / 1.514 GB, free: 7.895 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.0005399/0.8976, allocations: 163.6 kB / 1.514 GB, free: 7.727 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.02528/0.9228, allocations: 6.332 MB / 1.52 GB, free: 1.301 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.9228, allocations: 3.938 kB / 1.52 GB, free: 1.297 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.01754/0.9404, allocations: 3.923 MB / 1.524 GB, free: 13.35 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005071/0.9455, allocations: 1.137 MB / 1.525 GB, free: 12.25 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/0.962, allocations: 7.007 MB / 1.532 GB, free: 5.207 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00276/0.9647, allocations: 2.227 MB / 1.534 GB, free: 2.945 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/0.9659, allocations: 207.4 kB / 1.535 GB, free: 2.742 MB / 1.232 GB Notification: Performance of SimCode: time 1.633e-06/0.9659, allocations: 4 kB / 1.535 GB, free: 2.738 MB / 1.232 GB Notification: Performance of Templates: time 0.1179/1.084, allocations: 80.36 MB / 1.613 GB, free: 2.691 MB / 1.311 GB [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400]