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.001814/0.001814, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002011/0.002011, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.417/1.417, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.002494/0.002494, allocations: 242.1 kB / 260 MB, free: 440 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 0.9222/0.9222, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.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.00313/0.00313, allocations: 104.2 kB / 0.6474 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4331, allocations: 95.35 MB / 0.7405 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02097/0.4541, allocations: 21.27 MB / 0.7613 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02761/0.4817, allocations: 16.85 MB / 0.7777 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003838/0.4855, allocations: 150.4 kB / 0.7779 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01206/0.4976, allocations: 4.169 MB / 0.7819 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01183/0.5094, allocations: 3.596 MB / 0.7854 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004053/0.5135, allocations: 1.315 MB / 0.7867 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01024/0.5237, allocations: 5.812 MB / 0.7924 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004958/0.5287, allocations: 2.826 MB / 0.7952 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005464/0.5341, allocations: 2.62 MB / 0.7977 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00507/0.5392, allocations: 2.252 MB / 0.7999 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0009193/0.5401, allocations: 368 kB / 0.8003 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00258/0.5427, allocations: 0.9632 MB / 0.8012 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001298/0.544, allocations: 1.219 MB / 0.8024 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002564/0.5466, allocations: 1.645 MB / 0.804 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007211/0.5538, allocations: 5.223 MB / 0.8091 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5538, allocations: 0 / 0.8091 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5538, allocations: 0 / 0.8091 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000113/0.5539, allocations: 0 / 0.8091 GB, free: 12.41 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.01088/0.5648, allocations: 4.658 MB / 0.8136 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.5648, allocations: 13.34 kB / 0.8137 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01716/0.582, allocations: 3.291 MB / 0.8169 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005046/0.587, allocations: 2.135 MB / 0.819 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004401/0.5875, allocations: 466.3 kB / 0.8194 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005452/0.588, allocations: 235.9 kB / 0.8196 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/0.6004, allocations: 5.88 MB / 0.8254 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.134e-05/0.6005, allocations: 0 / 0.8254 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003414/0.6008, allocations: 104 kB / 0.8255 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002143/0.601, allocations: 168.8 kB / 0.8256 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/0.6159, allocations: 5.202 MB / 0.8307 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02001/0.6359, allocations: 8.76 MB / 0.8393 GB, free: 12.74 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/0.6461, allocations: 3.255 MB / 0.8424 GB, free: 9.477 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003833/0.6499, allocations: 1.366 MB / 0.8438 GB, free: 8.113 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.65, allocations: 25.3 kB / 0.8438 GB, free: 8.09 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004847/0.6549, allocations: 2.457 MB / 0.8462 GB, free: 5.406 MB / 0.67 GB Notification: Performance of pre-optimization done (n=163): time 3.907e-06/0.6549, allocations: 0 / 0.8462 GB, free: 5.406 MB / 0.67 GB Notification: Performance of matching and sorting (n=250): time 0.1349/0.7898, allocations: 27.5 MB / 0.8731 GB, free: 9.855 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003555/0.7901, allocations: 0.4928 MB / 0.8735 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003644/0.7937, allocations: 1.994 MB / 0.8755 GB, free: 7.242 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003965/0.7941, allocations: 73.7 kB / 0.8756 GB, free: 7.164 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001513/0.7957, allocations: 1.473 MB / 0.877 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001183/0.7968, allocations: 0.8637 MB / 0.8778 GB, free: 4.809 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/0.798, allocations: 416.5 kB / 0.8782 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.7981, allocations: 305.1 kB / 0.8785 GB, free: 4.094 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006002/0.8041, allocations: 2.062 MB / 0.8805 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006809/0.811, allocations: 2.774 MB / 0.8833 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/0.8232, allocations: 4.169 MB / 0.8873 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.8232, allocations: 4 kB / 0.8873 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02077/0.8439, allocations: 6.592 MB / 0.8938 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.8441, allocations: 152.5 kB / 0.8939 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.8441, allocations: 8 kB / 0.8939 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01085/0.855, allocations: 2.913 MB / 0.8968 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003081/0.858, allocations: 487.2 kB / 0.8972 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04416/0.9022, allocations: 18.21 MB / 0.915 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004183/0.9064, allocations: 323.6 kB / 0.9153 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005264/0.9069, allocations: 91.97 kB / 0.9154 GB, free: 13.63 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.001795/0.9087, allocations: 0.7025 MB / 0.9161 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008363/0.9095, allocations: 322 kB / 0.9164 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008306/0.9104, allocations: 361.2 kB / 0.9167 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.609e-05/0.9104, allocations: 24 kB / 0.9168 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.201e-05/0.9104, allocations: 15.94 kB / 0.9168 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-05/0.9105, allocations: 11.95 kB / 0.9168 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005048/0.9155, allocations: 2.733 MB / 0.9195 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.119e-05/0.9155, allocations: 3.938 kB / 0.9195 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002603/0.9181, allocations: 415.4 kB / 0.9199 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01042/0.9285, allocations: 2.863 MB / 0.9227 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004091/0.929, allocations: 55.95 kB / 0.9227 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04358/0.9725, allocations: 17.98 MB / 0.9403 GB, free: 3.891 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.9725, allocations: 0 / 0.9403 GB, free: 3.891 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02052/0.9931, allocations: 6.083 MB / 0.9462 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/0.9952, allocations: 0.5993 MB / 0.9468 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008539/0.996, allocations: 44 kB / 0.9468 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00373/0.9997, allocations: 319.6 kB / 0.9471 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001347/1.001, allocations: 362.5 kB / 0.9475 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003016/1.001, allocations: 67.97 kB / 0.9476 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002493/1.004, allocations: 1.316 MB / 0.9488 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 7e-08/1.004, allocations: 0 / 0.9488 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003398/1.007, allocations: 1.039 MB / 0.9499 GB, free: 10.04 MB / 0.7794 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.0004554/1.008, allocations: 163 kB / 0.95 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02543/1.033, allocations: 6.465 MB / 0.9563 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.033, allocations: 7.938 kB / 0.9563 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01876/1.052, allocations: 3.927 MB / 0.9602 GB, free: 15.3 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004673/1.057, allocations: 1.034 MB / 0.9612 GB, free: 14.32 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/1.072, allocations: 6.806 MB / 0.9678 GB, free: 7.488 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002518/1.075, allocations: 1.683 MB / 0.9695 GB, free: 5.766 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002042/1.077, allocations: 483.4 kB / 0.9699 GB, free: 5.289 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007013/1.078, allocations: 172.4 kB / 0.9701 GB, free: 5.121 MB / 0.795 GB Notification: Performance of SimCode: time 8.12e-07/1.078, allocations: 0 / 0.9701 GB, free: 5.121 MB / 0.795 GB Notification: Performance of Templates: time 0.4102/1.488, allocations: 73.24 MB / 1.042 GB, free: 195.8 MB / 0.8106 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 ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.38379862497095] Failed to read output from testmodel.py, exit status != 0: 1.4965466290013865 1.505236899 0.949086625 Calling exit ...