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.001255/0.001255, allocations: 76.23 kB / 19.18 MB, free: 2.52 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.001487/0.001487, allocations: 165.7 kB / 22.45 MB, free: 5.375 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.425/1.425, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.002468/0.002468, allocations: 245.2 kB / 259.4 MB, free: 468 kB / 238.1 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 1.065/1.065, allocations: 138.4 MB / 454.3 MB, free: 2.02 MB / 366.1 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 5.46e-06/5.46e-06, allocations: 7.938 kB / 0.6468 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.37e-05/3.916e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.2804/0.2805, allocations: 20.93 MB / 0.6672 GB, free: 45.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02058/0.3011, allocations: 16.67 MB / 0.6835 GB, free: 34.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003701/0.3048, allocations: 154.2 kB / 0.6837 GB, free: 34.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.01229/0.3171, allocations: 4.16 MB / 0.6877 GB, free: 32.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01103/0.3281, allocations: 3.707 MB / 0.6914 GB, free: 30.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004002/0.3321, allocations: 1.327 MB / 0.6926 GB, free: 29.51 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008983/0.3411, allocations: 5.975 MB / 0.6985 GB, free: 26.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004704/0.3458, allocations: 2.841 MB / 0.7013 GB, free: 25.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008173/0.3539, allocations: 3.487 MB / 0.7047 GB, free: 23.62 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005605/0.3596, allocations: 2.027 MB / 0.7066 GB, free: 22.97 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001267/0.3608, allocations: 367.7 kB / 0.707 GB, free: 22.97 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.364, allocations: 0.9702 MB / 0.7079 GB, free: 22.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.3652, allocations: 1.272 MB / 0.7092 GB, free: 22.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002882/0.3681, allocations: 1.382 MB / 0.7105 GB, free: 21.43 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005997/0.3741, allocations: 5.232 MB / 0.7156 GB, free: 17.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3741, allocations: 1.188 kB / 0.7156 GB, free: 17.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.62e-07/0.3741, allocations: 0 / 0.7156 GB, free: 17.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001142/0.3742, allocations: 0 / 0.7156 GB, free: 17.82 MB / 0.5606 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.01091/0.3851, allocations: 4.611 MB / 0.7201 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3852, allocations: 10.84 kB / 0.7202 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01682/0.402, allocations: 3.288 MB / 0.7234 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004698/0.4067, allocations: 2.142 MB / 0.7255 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003275/0.407, allocations: 467.6 kB / 0.7259 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006956/0.4077, allocations: 232.5 kB / 0.7261 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.4188, allocations: 5.885 MB / 0.7319 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.134e-05/0.4189, allocations: 4.969 kB / 0.7319 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003469/0.4192, allocations: 105.4 kB / 0.732 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000208/0.4194, allocations: 176.6 kB / 0.7321 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/0.4333, allocations: 5.19 MB / 0.7372 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02044/0.4538, allocations: 8.759 MB / 0.7458 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/0.4646, allocations: 3.25 MB / 0.7489 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004119/0.4687, allocations: 1.372 MB / 0.7503 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.4688, allocations: 21.3 kB / 0.7503 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005297/0.4741, allocations: 2.451 MB / 0.7527 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=163): time 5.32e-06/0.4741, allocations: 0 / 0.7527 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of matching and sorting (n=250): time 0.1448/0.6189, allocations: 27.52 MB / 0.7796 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003185/0.6192, allocations: 0.4889 MB / 0.78 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003533/0.6228, allocations: 1.994 MB / 0.782 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004445/0.6232, allocations: 77.69 kB / 0.7821 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001496/0.6247, allocations: 1.469 MB / 0.7835 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001097/0.6258, allocations: 0.852 MB / 0.7843 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.627, allocations: 416.5 kB / 0.7847 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6271, allocations: 312.2 kB / 0.785 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006198/0.6333, allocations: 2.062 MB / 0.787 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007069/0.6404, allocations: 2.778 MB / 0.7898 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/0.6529, allocations: 4.165 MB / 0.7938 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.653, allocations: 0 / 0.7938 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02253/0.6755, allocations: 6.585 MB / 0.8003 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.6756, allocations: 152.4 kB / 0.8004 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.6757, allocations: 4 kB / 0.8004 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01135/0.687, allocations: 2.924 MB / 0.8033 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00323/0.6902, allocations: 491.2 kB / 0.8037 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04521/0.7355, allocations: 18.2 MB / 0.8215 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004537/0.74, allocations: 323.6 kB / 0.8218 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004775/0.7405, allocations: 87.98 kB / 0.8219 GB, free: 11.53 MB / 0.6544 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.001945/0.7424, allocations: 0.7064 MB / 0.8226 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008689/0.7433, allocations: 314 kB / 0.8229 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000851/0.7441, allocations: 361.2 kB / 0.8232 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.068e-05/0.7442, allocations: 27.94 kB / 0.8233 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.099e-05/0.7442, allocations: 12 kB / 0.8233 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.616e-05/0.7442, allocations: 11.95 kB / 0.8233 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005164/0.7494, allocations: 2.726 MB / 0.8259 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/0.7494, allocations: 0 / 0.8259 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002716/0.7521, allocations: 419.4 kB / 0.8263 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01092/0.7631, allocations: 2.859 MB / 0.8291 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003477/0.7634, allocations: 51.97 kB / 0.8292 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04389/0.8073, allocations: 17.97 MB / 0.8467 GB, free: 1.824 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.8073, allocations: 0 / 0.8467 GB, free: 1.824 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02068/0.828, allocations: 6.083 MB / 0.8527 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/0.8299, allocations: 0.6071 MB / 0.8533 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008022/0.8307, allocations: 44 kB / 0.8533 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003716/0.8344, allocations: 315.6 kB / 0.8536 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001283/0.8357, allocations: 362.5 kB / 0.854 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002573/0.8359, allocations: 67.97 kB / 0.854 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002226/0.8381, allocations: 1.316 MB / 0.8553 GB, free: 9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.8381, allocations: 0 / 0.8553 GB, free: 9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003028/0.8412, allocations: 1.039 MB / 0.8563 GB, free: 7.961 MB / 0.6856 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.0004259/0.8416, allocations: 167 kB / 0.8565 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02562/0.8672, allocations: 6.455 MB / 0.8628 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.8672, allocations: 192 / 0.8628 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01934/0.8866, allocations: 3.931 MB / 0.8666 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005701/0.8923, allocations: 1.038 MB / 0.8676 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/0.9084, allocations: 6.77 MB / 0.8743 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002563/0.911, allocations: 1.679 MB / 0.8759 GB, free: 3.762 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002968/0.9139, allocations: 483.3 kB / 0.8764 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/0.9149, allocations: 176.4 kB / 0.8765 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of SimCode: time 1.083e-06/0.9149, allocations: 0 / 0.8765 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of Templates: time 0.3644/1.279, allocations: 72.68 MB / 0.9475 GB, free: 240.3 MB / 0.7637 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.224838539958] Failed to read output from testmodel.py, exit status != 0: 1.2878622263669968 1.296952661 0.920508345 Calling exit ...