Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001107/0.001107, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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.001051/0.001051, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 18.57 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 0.9203/0.9203, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002253/0.002253, allocations: 245.4 kB / 260.5 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.795/0.795, allocations: 138.4 MB / 402.2 MB, free: 0.543 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 462.3 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.449e-05, allocations: 4.828 kB / 462.3 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01091/0.01093, allocations: 15.01 MB / 477.3 MB, free: 3.559 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01437/0.02529, allocations: 12.83 MB / 490.2 MB, free: 6.777 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.02683, allocations: 150.8 kB / 490.3 MB, free: 6.629 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.02807, allocations: 0.7296 MB / 491.1 MB, free: 5.895 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004839/0.03291, allocations: 3.269 MB / 494.3 MB, free: 2.656 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.03499, allocations: 1.316 MB / 495.6 MB, free: 1.359 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004211/0.0392, allocations: 5.975 MB / 0.4899 GB, free: 11.38 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00255/0.04175, allocations: 2.947 MB / 0.4927 GB, free: 8.336 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003396/0.04515, allocations: 3.68 MB / 0.4963 GB, free: 4.656 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.04684, allocations: 1.98 MB / 0.4983 GB, free: 2.684 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003421/0.04719, allocations: 368 kB / 0.4986 GB, free: 2.324 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005579/0.04774, allocations: 439.8 kB / 0.499 GB, free: 1.895 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007489/0.04849, allocations: 1.286 MB / 0.5003 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.04991, allocations: 1.376 MB / 0.5016 GB, free: 15.23 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00226/0.05217, allocations: 3.079 MB / 0.5046 GB, free: 12.14 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.05217, allocations: 0.625 kB / 0.5046 GB, free: 12.14 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.05217, allocations: 0 / 0.5046 GB, free: 12.14 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.902e-05/0.0522, allocations: 0.9062 kB / 0.5046 GB, free: 12.14 MB / 474.7 MB 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.004474/0.05667, allocations: 4.363 MB / 0.5089 GB, free: 7.711 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.05671, allocations: 8.75 kB / 0.5089 GB, free: 7.703 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004785/0.06149, allocations: 2.011 MB / 0.5109 GB, free: 5.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.06335, allocations: 1.834 MB / 0.5127 GB, free: 3.809 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.06357, allocations: 467 kB / 0.5131 GB, free: 3.289 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002902/0.06386, allocations: 240.4 kB / 0.5133 GB, free: 3.055 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/0.0673, allocations: 3.248 MB / 0.5165 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.06734, allocations: 3.938 kB / 0.5165 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/0.06754, allocations: 109.4 kB / 0.5166 GB, free: 15.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/0.06767, allocations: 168.8 kB / 0.5168 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.06899, allocations: 0.9744 MB / 0.5177 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007246/0.07624, allocations: 5.759 MB / 0.5234 GB, free: 8.438 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/0.07855, allocations: 1.621 MB / 0.5249 GB, free: 6.828 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/0.079, allocations: 384.9 kB / 0.5253 GB, free: 6.457 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.477e-05/0.0791, allocations: 33.25 kB / 0.5253 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.08011, allocations: 1.528 MB / 0.5268 GB, free: 4.672 MB / 490.7 MB Notification: Performance of pre-optimization done (n=163): time 2.875e-06/0.08011, allocations: 0 / 0.5268 GB, free: 4.672 MB / 490.7 MB Notification: Performance of matching and sorting (n=163): time 0.006315/0.08643, allocations: 3.329 MB / 0.5301 GB, free: 1.336 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000178/0.08661, allocations: 495.9 kB / 0.5306 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.08775, allocations: 1.691 MB / 0.5322 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.08785, allocations: 65.7 kB / 0.5323 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005276/0.08838, allocations: 1.043 MB / 0.5333 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/0.08871, allocations: 0.5537 MB / 0.5338 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003585/0.08906, allocations: 303.3 kB / 0.5341 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7e-05/0.08913, allocations: 301.1 kB / 0.5344 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004334/0.08957, allocations: 405.1 kB / 0.5348 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/0.09023, allocations: 1.069 MB / 0.5358 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.09156, allocations: 1.028 MB / 0.5368 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.09156, allocations: 7.938 kB / 0.5368 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.002525/0.09409, allocations: 1.909 MB / 0.5387 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.831e-05/0.09416, allocations: 148.5 kB / 0.5388 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.09417, allocations: 8 kB / 0.5389 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/0.0968, allocations: 1.225 MB / 0.5401 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007556/0.09755, allocations: 311.5 kB / 0.5403 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006921/0.1045, allocations: 4.733 MB / 0.545 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.1055, allocations: 246.8 kB / 0.5452 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-05/0.1056, allocations: 59.97 kB / 0.5453 GB, free: 1.148 MB / 0.4948 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 (136): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of prepare postOptimizeDAE: time 0.0005759/0.1062, allocations: 219.3 kB / 0.5455 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/0.1065, allocations: 228.5 kB / 0.5457 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.1067, allocations: 298.9 kB / 0.546 GB, free: 416 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.1067, allocations: 16 kB / 0.546 GB, free: 400 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1067, allocations: 0 / 0.546 GB, free: 400 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.1067, allocations: 7.969 kB / 0.546 GB, free: 392 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.1081, allocations: 1.206 MB / 0.5472 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1081, allocations: 4.5 kB / 0.5472 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005771/0.1087, allocations: 223.7 kB / 0.5474 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002579/0.1113, allocations: 1.197 MB / 0.5486 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.096e-05/0.1114, allocations: 38.47 kB / 0.5486 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006657/0.118, allocations: 4.557 MB / 0.553 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.118, allocations: 0 / 0.553 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/0.1205, allocations: 1.537 MB / 0.5546 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.1211, allocations: 361.8 kB / 0.5549 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.1214, allocations: 39.94 kB / 0.5549 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007268/0.1221, allocations: 143.8 kB / 0.5551 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/0.1224, allocations: 221.6 kB / 0.5553 GB, free: 6.738 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.034e-05/0.1225, allocations: 39.97 kB / 0.5553 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006503/0.1231, allocations: 0.8961 MB / 0.5562 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1231, allocations: 0 / 0.5562 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001725/0.1249, allocations: 0.9708 MB / 0.5571 GB, free: 4.82 MB / 0.5105 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 (92): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002359/0.1251, allocations: 132.3 kB / 0.5573 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003487/0.1286, allocations: 2.247 MB / 0.5595 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.85e-05/0.1286, allocations: 24.5 kB / 0.5595 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002803/0.1314, allocations: 1.424 MB / 0.5609 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/0.1335, allocations: 1.05 MB / 0.5619 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006896/0.1404, allocations: 4.876 MB / 0.5667 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.1414, allocations: 0.6538 MB / 0.5673 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001126/0.1425, allocations: 345.4 kB / 0.5676 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00192/0.1445, allocations: 0.8113 MB / 0.5684 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of SimCode: time 1.874e-06/0.1445, allocations: 0 / 0.5684 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of Templates: time 0.0696/0.2141, allocations: 58.3 MB / 0.6254 GB, free: 148 kB / 0.573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.810303184669465]