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.001347/0.001347, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001558/0.001558, allocations: 212.9 kB / 22.99 MB, free: 4.945 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.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.002621/0.002621, allocations: 291.9 kB / 313.5 MB, free: 2.703 MB / 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.269/1.269, allocations: 180.6 MB / 0.5377 GB, free: 14.43 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 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002947/0.002947, allocations: 105.7 kB / 0.7408 GB, free: 27.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1878, allocations: 95.38 MB / 0.8339 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02874/0.2166, allocations: 21.26 MB / 0.8547 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03003/0.2466, allocations: 16.86 MB / 0.8711 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004136/0.2508, allocations: 150.8 kB / 0.8713 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01524/0.266, allocations: 4.161 MB / 0.8753 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01606/0.2821, allocations: 3.593 MB / 0.8788 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005343/0.2874, allocations: 1.322 MB / 0.8801 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01226/0.2997, allocations: 5.816 MB / 0.8858 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007716/0.3074, allocations: 2.834 MB / 0.8886 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006941/0.3143, allocations: 2.613 MB / 0.8911 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006653/0.321, allocations: 2.248 MB / 0.8933 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001985/0.323, allocations: 368 kB / 0.8937 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003946/0.3269, allocations: 0.9594 MB / 0.8946 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002498/0.3294, allocations: 1.222 MB / 0.8958 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004879/0.3343, allocations: 1.637 MB / 0.8974 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01304/0.3473, allocations: 5.226 MB / 0.9025 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3473, allocations: 0 / 0.9025 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3473, allocations: 0 / 0.9025 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000244/0.3476, allocations: 0 / 0.9025 GB, free: 1.215 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.01674/0.3643, allocations: 4.658 MB / 0.9071 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3644, allocations: 9.344 kB / 0.9071 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0169/0.3813, allocations: 3.291 MB / 0.9103 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006193/0.3875, allocations: 2.131 MB / 0.9124 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005305/0.388, allocations: 470.3 kB / 0.9128 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/0.389, allocations: 239.9 kB / 0.913 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01427/0.4033, allocations: 5.872 MB / 0.9188 GB, free: 15.91 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.057e-05/0.4034, allocations: 7.922 kB / 0.9188 GB, free: 15.9 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007613/0.4041, allocations: 107.9 kB / 0.9189 GB, free: 15.8 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002396/0.4044, allocations: 172.8 kB / 0.919 GB, free: 15.62 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01518/0.4196, allocations: 5.194 MB / 0.9241 GB, free: 10.41 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02284/0.4424, allocations: 8.748 MB / 0.9327 GB, free: 1.551 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/0.4531, allocations: 3.263 MB / 0.9359 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004/0.4571, allocations: 1.362 MB / 0.9372 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.4572, allocations: 25.3 kB / 0.9372 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005143/0.4624, allocations: 2.454 MB / 0.9396 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=163): time 4.047e-06/0.4624, allocations: 0 / 0.9396 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of matching and sorting (n=250): time 0.1673/0.6296, allocations: 27.5 MB / 0.9665 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003415/0.63, allocations: 0.4967 MB / 0.9669 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003013/0.633, allocations: 2.002 MB / 0.9689 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004251/0.6334, allocations: 77.7 kB / 0.969 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.6348, allocations: 1.469 MB / 0.9704 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009676/0.6358, allocations: 0.8598 MB / 0.9712 GB, free: 9.605 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008475/0.6366, allocations: 416.5 kB / 0.9716 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.6368, allocations: 301.1 kB / 0.9719 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005533/0.6423, allocations: 2.066 MB / 0.9739 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006082/0.6484, allocations: 2.774 MB / 0.9767 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3596/1.008, allocations: 4.163 MB / 0.9807 GB, free: 135 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.707e-05/1.008, allocations: 2.75 kB / 0.9807 GB, free: 135 MB / 0.7169 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01854/1.027, allocations: 6.591 MB / 0.9872 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.932e-05/1.027, allocations: 152.3 kB / 0.9873 GB, free: 133.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/1.027, allocations: 5.906 kB / 0.9873 GB, free: 133.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009684/1.036, allocations: 2.921 MB / 0.9902 GB, free: 133.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002974/1.039, allocations: 485.7 kB / 0.9906 GB, free: 133.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03629/1.076, allocations: 18.2 MB / 1.008 GB, free: 124.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003726/1.079, allocations: 324.4 kB / 1.009 GB, free: 124.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002491/1.08, allocations: 89.5 kB / 1.009 GB, free: 124.7 MB / 0.7169 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.001184/1.081, allocations: 0.7092 MB / 1.009 GB, free: 124.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004098/1.081, allocations: 316.7 kB / 1.01 GB, free: 124.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005555/1.082, allocations: 363.5 kB / 1.01 GB, free: 124 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/1.082, allocations: 29.06 kB / 1.01 GB, free: 124 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-05/1.082, allocations: 9.438 kB / 1.01 GB, free: 124 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/1.082, allocations: 15.62 kB / 1.01 GB, free: 124 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/1.085, allocations: 2.725 MB / 1.013 GB, free: 122.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/1.085, allocations: 3.938 kB / 1.013 GB, free: 122.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002233/1.087, allocations: 417.3 kB / 1.013 GB, free: 122.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008271/1.095, allocations: 2.863 MB / 1.016 GB, free: 121.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002973/1.095, allocations: 54.77 kB / 1.016 GB, free: 121.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03211/1.128, allocations: 17.98 MB / 1.034 GB, free: 104.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.128, allocations: 0 / 1.034 GB, free: 104.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01582/1.143, allocations: 6.075 MB / 1.04 GB, free: 98.04 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001928/1.145, allocations: 0.6146 MB / 1.04 GB, free: 97.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004917/1.146, allocations: 44.88 kB / 1.04 GB, free: 97.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002982/1.149, allocations: 315.6 kB / 1.041 GB, free: 97.08 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009908/1.15, allocations: 364.7 kB / 1.041 GB, free: 96.72 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001719/1.15, allocations: 67.97 kB / 1.041 GB, free: 96.65 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001449/1.151, allocations: 1.313 MB / 1.042 GB, free: 95.33 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.151, allocations: 0 / 1.042 GB, free: 95.33 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002349/1.154, allocations: 1.039 MB / 1.043 GB, free: 94.29 MB / 0.7169 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.0003088/1.154, allocations: 169.5 kB / 1.043 GB, free: 94.12 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02105/1.175, allocations: 6.455 MB / 1.05 GB, free: 87.55 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/1.175, allocations: 4 kB / 1.05 GB, free: 87.54 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01628/1.191, allocations: 3.927 MB / 1.054 GB, free: 83.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003922/1.195, allocations: 1.044 MB / 1.055 GB, free: 82.64 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/1.207, allocations: 6.981 MB / 1.061 GB, free: 75.64 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/1.209, allocations: 1.687 MB / 1.063 GB, free: 73.91 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.21, allocations: 187.4 kB / 1.063 GB, free: 73.73 MB / 0.7169 GB Notification: Performance of SimCode: time 1.002e-06/1.21, allocations: 0 / 1.063 GB, free: 73.73 MB / 0.7169 GB Notification: Performance of Templates: time 0.07265/1.282, allocations: 79.69 MB / 1.141 GB, free: 10.3 MB / 0.7325 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: 19.603433089330792] Failed to read output from testmodel.py, exit status != 0: 1.2912361691705883 1.305783877 0.955193977 Calling exit ...