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.000978/0.000978, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 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.002014/0.002014, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9446/0.9446, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.001744/0.001744, allocations: 237.5 kB / 261.3 MB, free: 12.65 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.7026/0.7026, allocations: 138.4 MB / 456.3 MB, free: 1.43 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.332e-06/1.332e-06, allocations: 3.938 kB / 0.5564 GB, free: 248 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.819e-05, allocations: 6.312 kB / 0.5564 GB, free: 240 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02229/0.0223, allocations: 14.97 MB / 0.571 GB, free: 1.199 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0134/0.0357, allocations: 12.56 MB / 0.5833 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002486/0.03819, allocations: 150.8 kB / 0.5834 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002271/0.04046, allocations: 0.7286 MB / 0.5841 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.007161/0.04762, allocations: 3.237 MB / 0.5873 GB, free: 472 kB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002524/0.05015, allocations: 1.314 MB / 0.5886 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.006625/0.05677, allocations: 5.989 MB / 0.5944 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00356/0.06033, allocations: 2.857 MB / 0.5972 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00554/0.06587, allocations: 3.692 MB / 0.6008 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003201/0.06907, allocations: 2.033 MB / 0.6028 GB, free: 480 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0009969/0.07007, allocations: 368 kB / 0.6032 GB, free: 112 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1908/0.2609, allocations: 425.2 kB / 0.6036 GB, free: 68.35 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001344/0.2622, allocations: 1.291 MB / 0.6048 GB, free: 68.35 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002306/0.2645, allocations: 1.385 MB / 0.6062 GB, free: 68.35 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003005/0.2675, allocations: 3.067 MB / 0.6092 GB, free: 68.08 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2675, allocations: 0 / 0.6092 GB, free: 68.08 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2675, allocations: 3.5 kB / 0.6092 GB, free: 68.08 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000134/0.2677, allocations: 1.094 kB / 0.6092 GB, free: 68.08 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.00528/0.2729, allocations: 4.582 MB / 0.6137 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.273, allocations: 11.12 kB / 0.6137 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006024/0.279, allocations: 2.321 MB / 0.6159 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003252/0.2822, allocations: 2.05 MB / 0.6179 GB, free: 65.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.2825, allocations: 468.2 kB / 0.6184 GB, free: 64.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004197/0.2829, allocations: 246.7 kB / 0.6186 GB, free: 64.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004203/0.2871, allocations: 3.201 MB / 0.6217 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.516e-05/0.2872, allocations: 1.25 kB / 0.6217 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/0.2874, allocations: 104 kB / 0.6218 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/0.2875, allocations: 174 kB / 0.622 GB, free: 63.63 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.2896, allocations: 1.204 MB / 0.6232 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00991/0.2995, allocations: 7.439 MB / 0.6305 GB, free: 61.01 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002736/0.3022, allocations: 1.761 MB / 0.6322 GB, free: 60.92 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005635/0.3028, allocations: 453.4 kB / 0.6326 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-05/0.3029, allocations: 32.8 kB / 0.6326 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/0.3041, allocations: 1.584 MB / 0.6342 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=163): time 4.168e-06/0.3041, allocations: 0 / 0.6342 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=250): time 0.01688/0.321, allocations: 6.587 MB / 0.6406 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.589e-05/0.3211, allocations: 0.4907 MB / 0.6411 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.3226, allocations: 1.821 MB / 0.6429 GB, free: 57.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.3227, allocations: 78.98 kB / 0.6429 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007717/0.3235, allocations: 1.52 MB / 0.6444 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004775/0.324, allocations: 0.8648 MB / 0.6453 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006496/0.3246, allocations: 417 kB / 0.6457 GB, free: 55.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.687e-05/0.3247, allocations: 484 kB / 0.6461 GB, free: 55.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008575/0.3255, allocations: 0.6219 MB / 0.6467 GB, free: 55.26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.3266, allocations: 1.403 MB / 0.6481 GB, free: 54.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/0.3284, allocations: 1.558 MB / 0.6496 GB, free: 53.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.3284, allocations: 3.188 kB / 0.6496 GB, free: 53.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.006351/0.3348, allocations: 3.405 MB / 0.653 GB, free: 52.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.372e-05/0.3348, allocations: 148.1 kB / 0.6531 GB, free: 52.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.3348, allocations: 8 kB / 0.6531 GB, free: 52.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007413/0.3423, allocations: 2.675 MB / 0.6557 GB, free: 51.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.3436, allocations: 392 kB / 0.6561 GB, free: 51.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0178/0.3614, allocations: 10.74 MB / 0.6666 GB, free: 41.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/0.3637, allocations: 211.8 kB / 0.6668 GB, free: 41.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/0.3639, allocations: 72.98 kB / 0.6669 GB, free: 40.95 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.0007967/0.3646, allocations: 292.1 kB / 0.6671 GB, free: 40.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004848/0.3651, allocations: 394.1 kB / 0.6675 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.3655, allocations: 361.9 kB / 0.6679 GB, free: 39.92 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.3655, allocations: 24 kB / 0.6679 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.002e-05/0.3655, allocations: 8 kB / 0.6679 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.3656, allocations: 15.95 kB / 0.6679 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.3678, allocations: 1.724 MB / 0.6696 GB, free: 38.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.3678, allocations: 1.062 kB / 0.6696 GB, free: 38.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.3688, allocations: 306.2 kB / 0.6699 GB, free: 38.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005486/0.3743, allocations: 2.613 MB / 0.6724 GB, free: 35.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/0.3745, allocations: 47.97 kB / 0.6725 GB, free: 35.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/0.3878, allocations: 10.53 MB / 0.6828 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3878, allocations: 0 / 0.6828 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005299/0.3931, allocations: 3.044 MB / 0.6857 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.3941, allocations: 0.5329 MB / 0.6863 GB, free: 21.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003367/0.3945, allocations: 48 kB / 0.6863 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.3956, allocations: 199.8 kB / 0.6865 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008265/0.3964, allocations: 362.5 kB / 0.6868 GB, free: 20.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.3965, allocations: 55.95 kB / 0.6869 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007372/0.3973, allocations: 1.028 MB / 0.6879 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3973, allocations: 0 / 0.6879 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001993/0.3993, allocations: 1.035 MB / 0.6889 GB, free: 18.79 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.0002569/0.3995, allocations: 169.3 kB / 0.6891 GB, free: 18.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007283/0.4068, allocations: 3.898 MB / 0.6929 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4068, allocations: 0 / 0.6929 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006343/0.4132, allocations: 2.817 MB / 0.6956 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/0.4157, allocations: 1.1 MB / 0.6967 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006341/0.4221, allocations: 5.591 MB / 0.7022 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/0.4226, allocations: 0.7836 MB / 0.7029 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001121/0.4238, allocations: 359.5 kB / 0.7033 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/0.4253, allocations: 0.9545 MB / 0.7042 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of SimCode: time 1.243e-06/0.4253, allocations: 0 / 0.7042 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of Templates: time 0.08788/0.5131, allocations: 79.7 MB / 0.782 GB, free: 4.898 MB / 0.5886 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.776079488918185]