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.001315/0.001315, allocations: 92.72 kB / 19.44 MB, free: 472 kB / 13.93 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.001511/0.001511, allocations: 161.7 kB / 22.75 MB, free: 1.801 MB / 18.57 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.485/1.485, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.002606/0.002606, allocations: 229.4 kB / 259.8 MB, free: 12.86 MB / 250.7 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.064/1.064, allocations: 138.4 MB / 454.7 MB, free: 1.465 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5543 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.68e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.832 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0313/0.03133, allocations: 20.93 MB / 0.5748 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.03081/0.06214, allocations: 16.66 MB / 0.5911 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002977/0.06512, allocations: 146.9 kB / 0.5912 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.01244/0.07755, allocations: 4.173 MB / 0.5953 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.01181/0.08936, allocations: 3.693 MB / 0.5989 GB, free: 3.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003803/0.09316, allocations: 1.326 MB / 0.6002 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.2106/0.3037, allocations: 5.974 MB / 0.606 GB, free: 60.51 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004807/0.3085, allocations: 2.847 MB / 0.6088 GB, free: 60.09 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00564/0.3142, allocations: 3.485 MB / 0.6122 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003322/0.3175, allocations: 2.024 MB / 0.6142 GB, free: 59.61 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.00069/0.3182, allocations: 367.5 kB / 0.6145 GB, free: 59.61 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.3202, allocations: 0.9675 MB / 0.6155 GB, free: 59.56 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.3213, allocations: 1.272 MB / 0.6167 GB, free: 59.37 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002247/0.3236, allocations: 1.383 MB / 0.6181 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.007339/0.3309, allocations: 5.235 MB / 0.6232 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3309, allocations: 1.344 kB / 0.6232 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3309, allocations: 0 / 0.6232 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001545/0.3311, allocations: 0 / 0.6232 GB, free: 58.8 MB / 0.5105 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.01116/0.3422, allocations: 4.616 MB / 0.6277 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3423, allocations: 13.31 kB / 0.6277 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01629/0.3586, allocations: 3.633 MB / 0.6312 GB, free: 56.49 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004943/0.3635, allocations: 2.241 MB / 0.6334 GB, free: 55.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003298/0.3638, allocations: 467.8 kB / 0.6339 GB, free: 55.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006052/0.3644, allocations: 253.8 kB / 0.6341 GB, free: 55.31 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.3745, allocations: 5.874 MB / 0.6398 GB, free: 52.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.13e-05/0.3745, allocations: 7.5 kB / 0.6399 GB, free: 52.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000349/0.3749, allocations: 111 kB / 0.64 GB, free: 52.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001702/0.375, allocations: 170.8 kB / 0.6401 GB, free: 52.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/0.3866, allocations: 5.198 MB / 0.6452 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01776/0.4044, allocations: 8.823 MB / 0.6538 GB, free: 44.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008811/0.4132, allocations: 3.249 MB / 0.657 GB, free: 43.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003144/0.4163, allocations: 1.372 MB / 0.6583 GB, free: 41.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.4165, allocations: 29.31 kB / 0.6584 GB, free: 41.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003811/0.4203, allocations: 2.447 MB / 0.6607 GB, free: 39.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=163): time 3.637e-06/0.4203, allocations: 0 / 0.6607 GB, free: 39.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=250): time 0.1138/0.534, allocations: 27.57 MB / 0.6877 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.5342, allocations: 0.5 MB / 0.6882 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/0.5367, allocations: 1.994 MB / 0.6901 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002682/0.537, allocations: 77.7 kB / 0.6902 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009133/0.5379, allocations: 1.465 MB / 0.6916 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006002/0.5385, allocations: 0.8524 MB / 0.6924 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000896/0.5394, allocations: 412.5 kB / 0.6928 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.437e-05/0.5394, allocations: 309.1 kB / 0.6931 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004709/0.5442, allocations: 2.062 MB / 0.6951 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004808/0.549, allocations: 2.774 MB / 0.6979 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/0.5604, allocations: 4.162 MB / 0.7019 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.5604, allocations: 4 kB / 0.7019 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02091/0.5813, allocations: 6.687 MB / 0.7085 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.5814, allocations: 149.1 kB / 0.7086 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.5814, allocations: 7.938 kB / 0.7086 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01482/0.5963, allocations: 3.332 MB / 0.7119 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002904/0.5992, allocations: 484.5 kB / 0.7123 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04595/0.6451, allocations: 18.34 MB / 0.7302 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00461/0.6497, allocations: 323.6 kB / 0.7305 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004954/0.6502, allocations: 91.97 kB / 0.7306 GB, free: 15.22 MB / 0.5573 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.6522, allocations: 0.7031 MB / 0.7313 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/0.6533, allocations: 390.1 kB / 0.7317 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009771/0.6543, allocations: 368.7 kB / 0.732 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.307e-05/0.6543, allocations: 24 kB / 0.7321 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.976e-05/0.6544, allocations: 15.94 kB / 0.7321 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.747e-05/0.6544, allocations: 12.77 kB / 0.7321 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005194/0.6596, allocations: 2.728 MB / 0.7347 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.6596, allocations: 0 / 0.7347 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002711/0.6623, allocations: 413.8 kB / 0.7351 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01487/0.6772, allocations: 3.283 MB / 0.7383 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003999/0.6776, allocations: 48.59 kB / 0.7384 GB, free: 7.309 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04599/0.7236, allocations: 18.11 MB / 0.7561 GB, free: 5.027 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7236, allocations: 0 / 0.7561 GB, free: 5.027 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0208/0.7444, allocations: 6.162 MB / 0.7621 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00263/0.747, allocations: 0.6071 MB / 0.7627 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009932/0.748, allocations: 47.94 kB / 0.7627 GB, free: 14.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003799/0.7518, allocations: 315.6 kB / 0.763 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001425/0.7532, allocations: 362.5 kB / 0.7634 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003253/0.7535, allocations: 67.97 kB / 0.7634 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002685/0.7562, allocations: 1.316 MB / 0.7647 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.7562, allocations: 0 / 0.7647 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003644/0.7599, allocations: 1.039 MB / 0.7657 GB, free: 11.16 MB / 0.5886 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.0004618/0.7603, allocations: 172.8 kB / 0.7659 GB, free: 11 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02539/0.7857, allocations: 6.457 MB / 0.7722 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/0.7857, allocations: 7.281 kB / 0.7722 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01864/0.8044, allocations: 3.927 MB / 0.7761 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005513/0.8099, allocations: 1.106 MB / 0.7771 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01793/0.8278, allocations: 6.86 MB / 0.7838 GB, free: 8.598 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002808/0.8306, allocations: 1.683 MB / 0.7855 GB, free: 6.875 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002528/0.8332, allocations: 482.1 kB / 0.7859 GB, free: 6.422 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008494/0.834, allocations: 180.5 kB / 0.7861 GB, free: 6.246 MB / 0.6042 GB Notification: Performance of SimCode: time 1.142e-06/0.834, allocations: 0 / 0.7861 GB, free: 6.246 MB / 0.6042 GB Notification: Performance of Templates: time 0.3077/1.142, allocations: 72.87 MB / 0.8573 GB, free: 224 MB / 0.6511 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.336972631979734]