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.0006932/0.0006932, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008837/0.001577, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007016/0.0007016, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009352/0.001637, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.008/1.008, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08807/1.096, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001287/0.001287, allocations: 241.5 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009529/0.002239, allocations: 475.2 kB / 244.7 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7137/0.7137, allocations: 138.7 MB / 384.1 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07178/0.7855, allocations: 42.4 MB / 426.5 MB, free: 5.949 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.082e-06/1.082e-06, allocations: 0 / 427.8 MB, free: 4.621 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.387e-05, allocations: 6.312 kB / 427.8 MB, free: 4.613 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.1992/0.1992, allocations: 15.42 MB / 443.2 MB, free: 12.55 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01834/0.2175, allocations: 13.06 MB / 456.3 MB, free: 3.668 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003308/0.2208, allocations: 146.3 kB / 456.4 MB, free: 3.598 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.2228, allocations: 0.775 MB / 457.2 MB, free: 2.934 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009112/0.2319, allocations: 3.504 MB / 460.7 MB, free: 15.92 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002932/0.2348, allocations: 1.318 MB / 462 MB, free: 14.62 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007862/0.2427, allocations: 6.335 MB / 468.4 MB, free: 8.273 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003907/0.2466, allocations: 2.789 MB / 471.2 MB, free: 5.402 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006502/0.2531, allocations: 4.167 MB / 475.3 MB, free: 1.191 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003511/0.2566, allocations: 2.193 MB / 477.5 MB, free: 15 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000953/0.2576, allocations: 364 kB / 477.9 MB, free: 14.64 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.2589, allocations: 439.8 kB / 478.3 MB, free: 14.21 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000949/0.2599, allocations: 1.04 MB / 479.3 MB, free: 13.17 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001699/0.2616, allocations: 1.128 MB / 480.5 MB, free: 12.04 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003769/0.2653, allocations: 2.865 MB / 483.3 MB, free: 9.168 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.888e-05/0.2654, allocations: 0 / 483.3 MB, free: 9.168 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2654, allocations: 0 / 483.3 MB, free: 9.168 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001461/0.2655, allocations: 0 / 483.3 MB, free: 9.168 MB / 458.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.005633/0.2711, allocations: 5.113 MB / 488.5 MB, free: 3.992 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.2712, allocations: 10.09 kB / 488.5 MB, free: 3.984 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005335/0.2765, allocations: 2.098 MB / 490.6 MB, free: 1.922 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/0.2792, allocations: 1.839 MB / 492.4 MB, free: 16 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002572/0.2794, allocations: 466.9 kB / 492.9 MB, free: 15.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/0.2797, allocations: 248.3 kB / 493.1 MB, free: 15.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003503/0.2832, allocations: 3.238 MB / 496.3 MB, free: 11.78 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.2833, allocations: 8.672 kB / 496.3 MB, free: 11.77 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/0.2834, allocations: 99.98 kB / 496.4 MB, free: 11.67 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.2836, allocations: 176.8 kB / 496.6 MB, free: 11.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.2849, allocations: 0.9718 MB / 497.6 MB, free: 10.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007705/0.2926, allocations: 5.789 MB / 0.4916 GB, free: 4.633 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.2951, allocations: 1.613 MB / 0.4932 GB, free: 3.035 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004365/0.2955, allocations: 381 kB / 0.4935 GB, free: 2.664 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-05/0.2956, allocations: 29.3 kB / 0.4935 GB, free: 2.637 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.2966, allocations: 1.539 MB / 0.495 GB, free: 0.875 MB / 474.7 MB Notification: Performance of pre-optimization done (n=163): time 4.117e-06/0.2966, allocations: 0 / 0.495 GB, free: 0.875 MB / 474.7 MB Notification: Performance of matching and sorting (n=163): time 0.006269/0.3029, allocations: 3.34 MB / 0.4983 GB, free: 13.53 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.303, allocations: 76.72 kB / 0.4984 GB, free: 13.44 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.3045, allocations: 1.695 MB / 0.5 GB, free: 11.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.3046, allocations: 61.7 kB / 0.5001 GB, free: 11.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005756/0.3052, allocations: 1.043 MB / 0.5011 GB, free: 10.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000375/0.3055, allocations: 0.5498 MB / 0.5017 GB, free: 10.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003628/0.3059, allocations: 303.3 kB / 0.5019 GB, free: 9.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.885e-05/0.306, allocations: 305.1 kB / 0.5022 GB, free: 9.449 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/0.3064, allocations: 416.9 kB / 0.5026 GB, free: 9.012 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006792/0.3071, allocations: 1.07 MB / 0.5037 GB, free: 7.742 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009708/0.3081, allocations: 1.035 MB / 0.5047 GB, free: 6.602 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.3081, allocations: 1.125 kB / 0.5047 GB, free: 6.602 MB / 490.7 MB Notification: Performance of matching and sorting (n=212) (initialization): time 0.003027/0.3111, allocations: 1.928 MB / 0.5066 GB, free: 4.602 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.3112, allocations: 148.5 kB / 0.5067 GB, free: 4.426 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.3112, allocations: 4 kB / 0.5067 GB, free: 4.422 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002855/0.3141, allocations: 1.237 MB / 0.5079 GB, free: 3.188 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009459/0.315, allocations: 363.5 kB / 0.5083 GB, free: 2.832 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00763/0.3227, allocations: 4.849 MB / 0.513 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.324, allocations: 253.4 kB / 0.5132 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.3241, allocations: 51.97 kB / 0.5133 GB, free: 13.64 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.0007692/0.3249, allocations: 224.1 kB / 0.5135 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/0.3253, allocations: 231.7 kB / 0.5137 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.3256, allocations: 298.3 kB / 0.514 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.3256, allocations: 12 kB / 0.514 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3256, allocations: 4 kB / 0.514 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.3256, allocations: 7.969 kB / 0.514 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.3272, allocations: 1.206 MB / 0.5152 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.3272, allocations: 0 / 0.5152 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007547/0.3279, allocations: 267.6 kB / 0.5155 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005732/0.3285, allocations: 357.8 kB / 0.5158 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002617/0.3311, allocations: 1.2 MB / 0.517 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-05/0.3312, allocations: 35.97 kB / 0.517 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007155/0.3383, allocations: 4.615 MB / 0.5215 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3383, allocations: 4.875 kB / 0.5215 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/0.3409, allocations: 1.549 MB / 0.523 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003307/0.3412, allocations: 35.92 kB / 0.5231 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007816/0.342, allocations: 151.8 kB / 0.5232 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003226/0.3423, allocations: 221.6 kB / 0.5234 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-05/0.3424, allocations: 35.97 kB / 0.5235 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006912/0.3431, allocations: 0.8961 MB / 0.5243 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.3431, allocations: 0 / 0.5243 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001598/0.3447, allocations: 0.967 MB / 0.5253 GB, free: 1.203 MB / 0.4948 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.000222/0.3449, allocations: 124.3 kB / 0.5254 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00395/0.3488, allocations: 2.264 MB / 0.5276 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.832e-05/0.3489, allocations: 32.5 kB / 0.5276 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002643/0.3515, allocations: 1.429 MB / 0.529 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/0.3539, allocations: 1.278 MB / 0.5303 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02173/0.3756, allocations: 5.013 MB / 0.5352 GB, free: 7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007349/0.3764, allocations: 0.6577 MB / 0.5358 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001491/0.3778, allocations: 350.3 kB / 0.5362 GB, free: 6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001728/0.3796, allocations: 0.8113 MB / 0.537 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of SimCode: time 2.384e-06/0.3796, allocations: 0 / 0.537 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of Templates: time 0.06554/0.4451, allocations: 60.58 MB / 0.5961 GB, free: 9.867 MB / 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.804408975876868]