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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 110.1 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 190.8 kB / 22.85 MB, free: 5.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] 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.002465/0.002465, allocations: 305.8 kB / 307.1 MB, free: 8.367 MB / 238.1 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 1.198/1.198, allocations: 180.8 MB / 0.5304 GB, free: 14.59 MB / 382.1 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.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(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 0.002814/0.002814, allocations: 101 kB / 0.7311 GB, free: 39.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1637, allocations: 94.22 MB / 0.8231 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02727/0.191, allocations: 23.25 MB / 0.8458 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02766/0.2187, allocations: 18.07 MB / 0.8635 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002924/0.2216, allocations: 146.8 kB / 0.8636 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01164/0.2332, allocations: 4.349 MB / 0.8679 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01087/0.2441, allocations: 3.601 MB / 0.8714 GB, free: 296 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00348/0.2476, allocations: 1.337 MB / 0.8727 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008363/0.256, allocations: 5.789 MB / 0.8783 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004166/0.2601, allocations: 2.877 MB / 0.8812 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004227/0.2643, allocations: 2.515 MB / 0.8836 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00494/0.2693, allocations: 2.522 MB / 0.8861 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0008181/0.2701, allocations: 368 kB / 0.8864 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.2722, allocations: 0.9633 MB / 0.8874 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001172/0.2734, allocations: 1.23 MB / 0.8886 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00236/0.2757, allocations: 1.998 MB / 0.8905 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006015/0.2817, allocations: 5.234 MB / 0.8956 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2818, allocations: 0 / 0.8956 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.126e-06/0.2818, allocations: 7.922 kB / 0.8956 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.944e-05/0.2819, allocations: 0 / 0.8956 GB, free: 7.305 MB / 0.6387 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.009588/0.2914, allocations: 4.647 MB / 0.9002 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2915, allocations: 11.97 kB / 0.9002 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01587/0.3073, allocations: 3.283 MB / 0.9034 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004623/0.312, allocations: 2.135 MB / 0.9055 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004062/0.3124, allocations: 462.3 kB / 0.9059 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005666/0.3129, allocations: 239.9 kB / 0.9061 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01163/0.3246, allocations: 5.872 MB / 0.9119 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.402e-05/0.3246, allocations: 0 / 0.9119 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003263/0.3249, allocations: 112 kB / 0.912 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001986/0.3251, allocations: 168.8 kB / 0.9121 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01382/0.339, allocations: 5.198 MB / 0.9172 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02235/0.3613, allocations: 14.31 MB / 0.9312 GB, free: 1.039 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009817/0.3711, allocations: 3.258 MB / 0.9344 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003675/0.3748, allocations: 1.373 MB / 0.9357 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.3749, allocations: 25.28 kB / 0.9358 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004642/0.3795, allocations: 2.447 MB / 0.9381 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=163): time 3.005e-06/0.3795, allocations: 0 / 0.9381 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of matching and sorting (n=250): time 0.1308/0.5103, allocations: 27.54 MB / 0.965 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002894/0.5106, allocations: 0.4927 MB / 0.9655 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003291/0.5139, allocations: 2.293 MB / 0.9678 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003858/0.5143, allocations: 81.69 kB / 0.9678 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001336/0.5156, allocations: 1.456 MB / 0.9693 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000916/0.5166, allocations: 0.8598 MB / 0.9701 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009053/0.5175, allocations: 416.5 kB / 0.9705 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5176, allocations: 305.1 kB / 0.9708 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005617/0.5232, allocations: 2.066 MB / 0.9728 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006299/0.5295, allocations: 2.778 MB / 0.9755 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/0.541, allocations: 4.158 MB / 0.9796 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.541, allocations: 0 / 0.9796 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02023/0.5613, allocations: 6.623 MB / 0.986 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.5614, allocations: 148.5 kB / 0.9862 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/0.5614, allocations: 4 kB / 0.9862 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0108/0.5722, allocations: 2.928 MB / 0.989 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003076/0.5753, allocations: 479.2 kB / 0.9895 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04831/0.6236, allocations: 18.65 MB / 1.008 GB, free: 1.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004375/0.628, allocations: 323.6 kB / 1.008 GB, free: 1.172 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000485/0.6285, allocations: 88.16 kB / 1.008 GB, free: 1.086 MB / 0.7481 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.001983/0.6305, allocations: 0.7037 MB / 1.009 GB, free: 384 kB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009412/0.6314, allocations: 353.8 kB / 1.009 GB, free: 28 kB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.384/1.015, allocations: 377.8 kB / 1.01 GB, free: 175.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/1.015, allocations: 23.66 kB / 1.01 GB, free: 175.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.645e-05/1.015, allocations: 10.22 kB / 1.01 GB, free: 175.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.209e-05/1.016, allocations: 11.62 kB / 1.01 GB, free: 175.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004845/1.02, allocations: 3.596 MB / 1.013 GB, free: 175 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/1.02, allocations: 0 / 1.013 GB, free: 175 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002573/1.023, allocations: 416 kB / 1.013 GB, free: 175 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01015/1.033, allocations: 2.867 MB / 1.016 GB, free: 175 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003411/1.033, allocations: 53.59 kB / 1.016 GB, free: 175 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0377/1.071, allocations: 18.42 MB / 1.034 GB, free: 166.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.071, allocations: 1.938 kB / 1.034 GB, free: 166.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/1.088, allocations: 6.114 MB / 1.04 GB, free: 164.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/1.089, allocations: 0.6351 MB / 1.041 GB, free: 163.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004442/1.09, allocations: 51.91 kB / 1.041 GB, free: 163.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003063/1.093, allocations: 314 kB / 1.041 GB, free: 163.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001066/1.094, allocations: 371 kB / 1.042 GB, free: 163 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001986/1.094, allocations: 67.97 kB / 1.042 GB, free: 162.9 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001699/1.096, allocations: 1.536 MB / 1.043 GB, free: 161.4 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/1.096, allocations: 0 / 1.043 GB, free: 161.4 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002282/1.098, allocations: 1.039 MB / 1.044 GB, free: 160.4 MB / 0.7481 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.0003112/1.098, allocations: 169.6 kB / 1.044 GB, free: 160.2 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0212/1.12, allocations: 6.459 MB / 1.051 GB, free: 153.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.12, allocations: 0 / 1.051 GB, free: 153.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.01604/1.136, allocations: 3.928 MB / 1.054 GB, free: 149.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004322/1.14, allocations: 1.155 MB / 1.056 GB, free: 148.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/1.152, allocations: 6.828 MB / 1.062 GB, free: 141.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001406/1.154, allocations: 2.231 MB / 1.064 GB, free: 139.6 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002245/1.156, allocations: 0.503 MB / 1.065 GB, free: 139.1 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006405/1.156, allocations: 193.8 kB / 1.065 GB, free: 139 MB / 0.7481 GB Notification: Performance of SimCode: time 1.142e-06/1.156, allocations: 0 / 1.065 GB, free: 139 MB / 0.7481 GB Notification: Performance of Templates: time 0.09385/1.25, allocations: 78.39 MB / 1.142 GB, free: 61.57 MB / 0.7481 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.397041109856218] Failed to read output from testmodel.py, exit status != 0: 1.2575707228388637 1.266933644 0.98292007 Calling exit ...