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.0008699/0.0008699, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009175/0.0009175, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9945/0.9945, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.002133/0.002133, allocations: 241.3 kB / 260.2 MB, free: 12.82 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 0.717/0.717, allocations: 138.4 MB / 455.2 MB, free: 1.566 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.402e-06/1.402e-06, allocations: 0 / 0.5551 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.588e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01182/0.01184, allocations: 15.36 MB / 0.5701 GB, free: 1.09 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01442/0.02626, allocations: 12.78 MB / 0.5826 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002895/0.02915, allocations: 146.9 kB / 0.5828 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.03162, allocations: 0.7285 MB / 0.5835 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.007724/0.03935, allocations: 3.245 MB / 0.5866 GB, free: 136 kB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003131/0.04248, allocations: 1.31 MB / 0.5879 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0073/0.04978, allocations: 6.001 MB / 0.5938 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003929/0.05371, allocations: 2.849 MB / 0.5966 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005884/0.05959, allocations: 3.692 MB / 0.6002 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004041/0.06363, allocations: 2.033 MB / 0.6022 GB, free: 144 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.2232/0.2868, allocations: 364.8 kB / 0.6025 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.2888, allocations: 433.4 kB / 0.6029 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001303/0.2901, allocations: 1.289 MB / 0.6042 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002685/0.2927, allocations: 1.378 MB / 0.6055 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003587/0.2963, allocations: 3.079 MB / 0.6085 GB, free: 67.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2963, allocations: 0 / 0.6085 GB, free: 67.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2963, allocations: 0 / 0.6085 GB, free: 67.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001131/0.2964, allocations: 0.5625 kB / 0.6085 GB, free: 67.75 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.005519/0.302, allocations: 4.617 MB / 0.613 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.302, allocations: 10.88 kB / 0.6131 GB, free: 65.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0069/0.3089, allocations: 3.07 MB / 0.6161 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/0.3124, allocations: 2.155 MB / 0.6182 GB, free: 64.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002517/0.3127, allocations: 468.8 kB / 0.6186 GB, free: 64.47 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003895/0.3131, allocations: 248.5 kB / 0.6188 GB, free: 64.47 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004888/0.318, allocations: 3.499 MB / 0.6223 GB, free: 63.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/0.318, allocations: 0 / 0.6223 GB, free: 63.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002163/0.3182, allocations: 107.9 kB / 0.6224 GB, free: 63.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/0.3184, allocations: 170.7 kB / 0.6225 GB, free: 63.31 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002861/0.3212, allocations: 1.554 MB / 0.624 GB, free: 63.26 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/0.3324, allocations: 7.944 MB / 0.6318 GB, free: 60.47 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003152/0.3355, allocations: 1.926 MB / 0.6337 GB, free: 60 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007797/0.3363, allocations: 0.5457 MB / 0.6342 GB, free: 59.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.473e-05/0.3364, allocations: 30.06 kB / 0.6342 GB, free: 59.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/0.3376, allocations: 1.664 MB / 0.6359 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=163): time 4.158e-06/0.3376, allocations: 0 / 0.6359 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=250): time 0.01435/0.352, allocations: 7.517 MB / 0.6432 GB, free: 56.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.3521, allocations: 0.4929 MB / 0.6437 GB, free: 56.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.3537, allocations: 1.877 MB / 0.6455 GB, free: 55.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002403/0.3539, allocations: 76.33 kB / 0.6456 GB, free: 55.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007148/0.3546, allocations: 1.529 MB / 0.6471 GB, free: 54.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004893/0.3551, allocations: 0.8515 MB / 0.6479 GB, free: 53.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005086/0.3556, allocations: 419.2 kB / 0.6483 GB, free: 53.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.443e-05/0.3557, allocations: 484.5 kB / 0.6488 GB, free: 52.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000966/0.3566, allocations: 0.7779 MB / 0.6495 GB, free: 52.53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.3578, allocations: 1.56 MB / 0.6511 GB, free: 51.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/0.3596, allocations: 1.83 MB / 0.6529 GB, free: 50.51 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.3596, allocations: 0 / 0.6529 GB, free: 50.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.005828/0.3655, allocations: 3.755 MB / 0.6565 GB, free: 48.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.031e-05/0.3655, allocations: 147.5 kB / 0.6567 GB, free: 48.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.3656, allocations: 10.88 kB / 0.6567 GB, free: 48.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006178/0.3717, allocations: 2.723 MB / 0.6593 GB, free: 46.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.373, allocations: 389.3 kB / 0.6597 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01532/0.3883, allocations: 11.36 MB / 0.6708 GB, free: 34.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/0.3904, allocations: 203.8 kB / 0.671 GB, free: 34.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/0.3906, allocations: 91.97 kB / 0.6711 GB, free: 34.28 MB / 0.5105 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.0008269/0.3914, allocations: 296 kB / 0.6714 GB, free: 34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004906/0.3919, allocations: 394.1 kB / 0.6717 GB, free: 33.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.3922, allocations: 365.2 kB / 0.6721 GB, free: 33.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.3922, allocations: 20 kB / 0.6721 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.202e-05/0.3922, allocations: 15.94 kB / 0.6721 GB, free: 33.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.3922, allocations: 11.95 kB / 0.6721 GB, free: 33.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/0.3944, allocations: 2.099 MB / 0.6742 GB, free: 31.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.3944, allocations: 1.062 kB / 0.6742 GB, free: 31.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008442/0.3953, allocations: 306.3 kB / 0.6745 GB, free: 30.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005973/0.4012, allocations: 2.664 MB / 0.6771 GB, free: 28.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002723/0.4015, allocations: 55.95 kB / 0.6771 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01478/0.4163, allocations: 11.11 MB / 0.688 GB, free: 16.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4163, allocations: 3.984 kB / 0.688 GB, free: 16.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005674/0.422, allocations: 3.349 MB / 0.6913 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/0.4233, allocations: 0.5796 MB / 0.6918 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003565/0.4236, allocations: 59.92 kB / 0.6919 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.4248, allocations: 199.8 kB / 0.6921 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007592/0.4255, allocations: 358.5 kB / 0.6924 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/0.4257, allocations: 75.97 kB / 0.6925 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009565/0.4266, allocations: 1.125 MB / 0.6936 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4266, allocations: 0 / 0.6936 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001953/0.4286, allocations: 1.039 MB / 0.6946 GB, free: 10.07 MB / 0.5105 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.0002791/0.4289, allocations: 165.7 kB / 0.6948 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007726/0.4366, allocations: 4.195 MB / 0.6989 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.4366, allocations: 0 / 0.6989 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006402/0.443, allocations: 2.946 MB / 0.7017 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/0.4459, allocations: 1.098 MB / 0.7028 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007701/0.4536, allocations: 5.653 MB / 0.7083 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007702/0.4544, allocations: 0.7912 MB / 0.7091 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001737/0.4561, allocations: 406.3 kB / 0.7095 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000562/0.4567, allocations: 180.4 kB / 0.7097 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of SimCode: time 2.455e-06/0.4567, allocations: 0 / 0.7097 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.0835/0.5402, allocations: 77.37 MB / 0.7852 GB, free: 14.57 MB / 0.6042 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.813824187964201]