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.00167/0.00167, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001664/0.001664, allocations: 211.3 kB / 23 MB, free: 4.57 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002854/0.002854, allocations: 276.8 kB / 313.5 MB, free: 2.793 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.243/1.243, allocations: 180.6 MB / 0.5377 GB, free: 13.05 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.002832/0.002832, allocations: 97.77 kB / 0.7408 GB, free: 27.67 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1598, allocations: 95.38 MB / 0.834 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0295/0.1893, allocations: 23.49 MB / 0.8569 GB, free: 396 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02811/0.2174, allocations: 18.19 MB / 0.8747 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002961/0.2204, allocations: 150.8 kB / 0.8748 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0113/0.2317, allocations: 4.352 MB / 0.8791 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01081/0.2425, allocations: 3.597 MB / 0.8826 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0038/0.2463, allocations: 1.326 MB / 0.8839 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009119/0.2554, allocations: 5.808 MB / 0.8896 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005521/0.2609, allocations: 2.881 MB / 0.8924 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005159/0.2661, allocations: 2.519 MB / 0.8948 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006009/0.2721, allocations: 2.51 MB / 0.8973 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00162/0.2737, allocations: 371.9 kB / 0.8976 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00334/0.277, allocations: 1.061 MB / 0.8987 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002188/0.2792, allocations: 1.215 MB / 0.8999 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004457/0.2837, allocations: 2.014 MB / 0.9018 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00922/0.2929, allocations: 5.187 MB / 0.9069 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.2929, allocations: 3.984 kB / 0.9069 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2929, allocations: 0 / 0.9069 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001959/0.2931, allocations: 4 kB / 0.9069 GB, free: 12.98 MB / 0.6544 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.01272/0.3058, allocations: 4.654 MB / 0.9115 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3059, allocations: 13.34 kB / 0.9115 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/0.322, allocations: 3.283 MB / 0.9147 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005335/0.3273, allocations: 2.143 MB / 0.9168 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004843/0.3278, allocations: 466.3 kB / 0.9172 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007393/0.3285, allocations: 235.9 kB / 0.9174 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01134/0.3399, allocations: 4.826 MB / 0.9221 GB, free: 12.99 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.85e-05/0.3399, allocations: 3.938 kB / 0.9221 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003475/0.3403, allocations: 108 kB / 0.9223 GB, free: 12.88 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002183/0.3405, allocations: 176.8 kB / 0.9224 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01378/0.3543, allocations: 5.195 MB / 0.9275 GB, free: 7.492 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0268/0.3811, allocations: 14.33 MB / 0.9415 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.3912, allocations: 3.266 MB / 0.9447 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003892/0.3951, allocations: 1.373 MB / 0.946 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/0.3953, allocations: 25.28 kB / 0.946 GB, free: 3.32 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00452/0.3998, allocations: 1.802 MB / 0.9478 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=163): time 4.098e-06/0.3998, allocations: 0 / 0.9478 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of matching and sorting (n=250): time 0.1261/0.5259, allocations: 27.53 MB / 0.9747 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000324/0.5262, allocations: 0.4967 MB / 0.9752 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003952/0.5302, allocations: 2.293 MB / 0.9774 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004932/0.5307, allocations: 81.69 kB / 0.9775 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001534/0.5322, allocations: 1.456 MB / 0.9789 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001135/0.5333, allocations: 0.8598 MB / 0.9798 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001056/0.5344, allocations: 416.5 kB / 0.9802 GB, free: 120 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.3325/0.8669, allocations: 301.1 kB / 0.9804 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005695/0.8726, allocations: 1.927 MB / 0.9823 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005446/0.8781, allocations: 2.233 MB / 0.9845 GB, free: 133.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009771/0.8878, allocations: 4.164 MB / 0.9886 GB, free: 132.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/0.8878, allocations: 2.656 kB / 0.9886 GB, free: 132.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01924/0.9071, allocations: 6.475 MB / 0.9949 GB, free: 130.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.667e-05/0.9072, allocations: 152.2 kB / 0.995 GB, free: 130.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.9072, allocations: 4.438 kB / 0.995 GB, free: 130.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009351/0.9165, allocations: 2.923 MB / 0.9979 GB, free: 129.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/0.9193, allocations: 485.4 kB / 0.9984 GB, free: 129.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0334/0.9527, allocations: 18.66 MB / 1.017 GB, free: 119.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003708/0.9564, allocations: 323.8 kB / 1.017 GB, free: 119.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002943/0.9567, allocations: 90.38 kB / 1.017 GB, free: 119.8 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.001305/0.958, allocations: 0.713 MB / 1.018 GB, free: 119.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004861/0.9584, allocations: 345.6 kB / 1.018 GB, free: 119.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006685/0.9591, allocations: 386.2 kB / 1.018 GB, free: 118.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.9591, allocations: 26.53 kB / 1.018 GB, free: 118.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.443e-05/0.9592, allocations: 8.375 kB / 1.018 GB, free: 118.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.9592, allocations: 11.95 kB / 1.018 GB, free: 118.9 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003375/0.9626, allocations: 3.613 MB / 1.022 GB, free: 116.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.9626, allocations: 4 kB / 1.022 GB, free: 116.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002191/0.9648, allocations: 415.3 kB / 1.022 GB, free: 115.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008408/0.9732, allocations: 2.867 MB / 1.025 GB, free: 112.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003566/0.9735, allocations: 51.34 kB / 1.025 GB, free: 112.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03146/1.005, allocations: 18.43 MB / 1.043 GB, free: 94.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.005, allocations: 0 / 1.043 GB, free: 94.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0151/1.02, allocations: 6.108 MB / 1.049 GB, free: 87.95 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002331/1.022, allocations: 0.6352 MB / 1.05 GB, free: 87.31 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005587/1.023, allocations: 55.92 kB / 1.05 GB, free: 87.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002908/1.026, allocations: 323.5 kB / 1.05 GB, free: 86.94 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001016/1.027, allocations: 358.5 kB / 1.05 GB, free: 86.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/1.027, allocations: 71.97 kB / 1.051 GB, free: 86.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00163/1.029, allocations: 1.532 MB / 1.052 GB, free: 84.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/1.029, allocations: 0 / 1.052 GB, free: 84.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002268/1.031, allocations: 1.047 MB / 1.053 GB, free: 83.94 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.000308/1.031, allocations: 167 kB / 1.053 GB, free: 83.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01985/1.051, allocations: 6.309 MB / 1.059 GB, free: 77.36 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.051, allocations: 4 kB / 1.059 GB, free: 77.36 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01537/1.067, allocations: 3.912 MB / 1.063 GB, free: 73.43 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004398/1.071, allocations: 1.149 MB / 1.064 GB, free: 72.38 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/1.083, allocations: 7.014 MB / 1.071 GB, free: 65.34 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/1.085, allocations: 2.231 MB / 1.073 GB, free: 63.08 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/1.086, allocations: 207.4 kB / 1.074 GB, free: 62.88 MB / 0.7169 GB Notification: Performance of SimCode: time 1.153e-06/1.086, allocations: 0 / 1.074 GB, free: 62.88 MB / 0.7169 GB Notification: Performance of Templates: time 0.08226/1.168, allocations: 80.3 MB / 1.152 GB, free: 14.91 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 20.22443452011794] Failed to read output from testmodel.py, exit status != 0: 1.1763886772096157 1.191398017 0.89512752 Calling exit ...