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.001559/0.001559, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001802/0.001802, allocations: 206.7 kB / 22.24 MB, free: 5.258 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 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.002627/0.002627, allocations: 284.1 kB / 312.7 MB, free: 2.621 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.274/1.274, allocations: 180.6 MB / 0.5369 GB, free: 14.46 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.004281/0.004281, allocations: 105.1 kB / 0.74 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.189, allocations: 95.38 MB / 0.8332 GB, free: 7.773 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02933/0.2184, allocations: 21.27 MB / 0.8539 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02919/0.2476, allocations: 16.86 MB / 0.8704 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003186/0.2507, allocations: 150.8 kB / 0.8705 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01212/0.2629, allocations: 4.164 MB / 0.8746 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.2748, allocations: 3.594 MB / 0.8781 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004181/0.2789, allocations: 1.318 MB / 0.8794 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0102/0.2891, allocations: 5.808 MB / 0.8851 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00622/0.2954, allocations: 2.83 MB / 0.8878 GB, free: 15.55 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005522/0.3009, allocations: 2.621 MB / 0.8904 GB, free: 12.92 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004899/0.3058, allocations: 2.249 MB / 0.8926 GB, free: 10.66 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.001475/0.3072, allocations: 371.9 kB / 0.8929 GB, free: 10.3 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/0.3105, allocations: 0.9632 MB / 0.8939 GB, free: 9.336 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.002203/0.3127, allocations: 1.215 MB / 0.8951 GB, free: 8.117 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.004054/0.3167, allocations: 1.645 MB / 0.8967 GB, free: 6.465 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.009463/0.3262, allocations: 5.219 MB / 0.9018 GB, free: 1.227 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3262, allocations: 0 / 0.9018 GB, free: 1.227 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3262, allocations: 0 / 0.9018 GB, free: 1.227 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0001934/0.3264, allocations: 0 / 0.9018 GB, free: 1.227 MB / 0.6388 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.0133/0.3397, allocations: 4.658 MB / 0.9063 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3397, allocations: 9.344 kB / 0.9063 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01755/0.3573, allocations: 3.295 MB / 0.9096 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007247/0.3645, allocations: 2.131 MB / 0.9116 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005815/0.3651, allocations: 466.3 kB / 0.9121 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/0.3662, allocations: 235.9 kB / 0.9123 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01522/0.3815, allocations: 5.88 MB / 0.918 GB, free: 15.91 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.264e-05/0.3815, allocations: 0 / 0.918 GB, free: 15.91 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007939/0.3823, allocations: 107.9 kB / 0.9181 GB, free: 15.81 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002579/0.3826, allocations: 172.8 kB / 0.9183 GB, free: 15.64 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01558/0.3982, allocations: 5.191 MB / 0.9234 GB, free: 10.43 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02405/0.4222, allocations: 8.752 MB / 0.9319 GB, free: 1.566 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.4334, allocations: 3.251 MB / 0.9351 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004172/0.4376, allocations: 1.369 MB / 0.9364 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/0.4378, allocations: 25.3 kB / 0.9365 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00545/0.4432, allocations: 2.466 MB / 0.9389 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=163): time 4.859e-06/0.4432, allocations: 0 / 0.9389 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of matching and sorting (n=250): time 0.1366/0.5798, allocations: 27.5 MB / 0.9657 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003074/0.5801, allocations: 0.4889 MB / 0.9662 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003509/0.5836, allocations: 2.002 MB / 0.9682 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004551/0.5841, allocations: 77.7 kB / 0.9682 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001517/0.5856, allocations: 1.469 MB / 0.9697 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001098/0.5867, allocations: 0.8637 MB / 0.9705 GB, free: 9.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.5878, allocations: 416.5 kB / 0.9709 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5879, allocations: 301.1 kB / 0.9712 GB, free: 8.906 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005843/0.5937, allocations: 2.074 MB / 0.9732 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006227/0.5999, allocations: 2.77 MB / 0.9759 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3836/0.9836, allocations: 4.16 MB / 0.98 GB, free: 134.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.55e-05/0.9836, allocations: 1.906 kB / 0.98 GB, free: 134.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02007/1.004, allocations: 6.593 MB / 0.9864 GB, free: 133.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.797e-05/1.004, allocations: 152.2 kB / 0.9866 GB, free: 133.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/1.004, allocations: 5.156 kB / 0.9866 GB, free: 133.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01037/1.014, allocations: 2.928 MB / 0.9894 GB, free: 132.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003133/1.017, allocations: 492.8 kB / 0.9899 GB, free: 132.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03866/1.056, allocations: 18.19 MB / 1.008 GB, free: 124.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004066/1.06, allocations: 319.9 kB / 1.008 GB, free: 124 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003777/1.06, allocations: 90.52 kB / 1.008 GB, free: 124 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.0014/1.062, allocations: 0.715 MB / 1.009 GB, free: 123.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005623/1.062, allocations: 317.5 kB / 1.009 GB, free: 123.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005905/1.063, allocations: 361.8 kB / 1.009 GB, free: 123.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/1.063, allocations: 27.19 kB / 1.009 GB, free: 123.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.125e-05/1.063, allocations: 11.5 kB / 1.009 GB, free: 123.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/1.063, allocations: 11.53 kB / 1.009 GB, free: 123.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/1.066, allocations: 2.72 MB / 1.012 GB, free: 122.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/1.066, allocations: 0 / 1.012 GB, free: 122.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/1.069, allocations: 416 kB / 1.013 GB, free: 122.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008715/1.077, allocations: 2.871 MB / 1.015 GB, free: 120.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003957/1.078, allocations: 54.38 kB / 1.015 GB, free: 120.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03269/1.11, allocations: 17.97 MB / 1.033 GB, free: 103.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.11, allocations: 0 / 1.033 GB, free: 103.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0159/1.126, allocations: 6.081 MB / 1.039 GB, free: 97.11 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002048/1.128, allocations: 0.6071 MB / 1.039 GB, free: 96.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005171/1.129, allocations: 44 kB / 1.039 GB, free: 96.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002934/1.132, allocations: 315.6 kB / 1.04 GB, free: 96.14 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/1.133, allocations: 370.5 kB / 1.04 GB, free: 95.78 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/1.133, allocations: 71.34 kB / 1.04 GB, free: 95.71 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00146/1.134, allocations: 1.309 MB / 1.041 GB, free: 94.39 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/1.134, allocations: 0 / 1.041 GB, free: 94.39 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002656/1.137, allocations: 1.046 MB / 1.043 GB, free: 93.35 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.0003243/1.137, allocations: 159.9 kB / 1.043 GB, free: 93.19 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02127/1.159, allocations: 6.467 MB / 1.049 GB, free: 86.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/1.159, allocations: 0 / 1.049 GB, free: 86.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01569/1.174, allocations: 3.93 MB / 1.053 GB, free: 82.65 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003768/1.178, allocations: 1.04 MB / 1.054 GB, free: 81.71 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/1.19, allocations: 6.789 MB / 1.06 GB, free: 74.91 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/1.191, allocations: 1.679 MB / 1.062 GB, free: 73.19 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001924/1.193, allocations: 488.4 kB / 1.063 GB, free: 72.71 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005974/1.194, allocations: 171.4 kB / 1.063 GB, free: 72.54 MB / 0.7169 GB Notification: Performance of SimCode: time 8.12e-07/1.194, allocations: 0 / 1.063 GB, free: 72.54 MB / 0.7169 GB Notification: Performance of Templates: time 0.08987/1.283, allocations: 77.68 MB / 1.139 GB, free: 12.05 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: 9.751329235732555] Failed to read output from testmodel.py, exit status != 0: 1.2936398200690746 1.308303781 0.978684683 Calling exit ...