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.001105/0.001105, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001339/0.001339, allocations: 173 kB / 23.28 MB, free: 1.219 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.8929/0.8929, allocations: 177.2 MB / 203.7 MB, free: 5.508 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.001622/0.001622, allocations: 237.8 kB / 260.5 MB, free: 12.66 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.7804/0.7804, allocations: 138.4 MB / 455.5 MB, free: 1.41 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.884e-06/1.884e-06, allocations: 0 / 0.5556 GB, free: 248 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.6e-05, allocations: 9.406 kB / 0.5556 GB, free: 240 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01086/0.01089, allocations: 14.97 MB / 0.5702 GB, free: 1.199 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01373/0.02462, allocations: 12.56 MB / 0.5825 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002663/0.02728, allocations: 150.8 kB / 0.5827 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.02924, allocations: 0.7325 MB / 0.5834 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.007237/0.03648, allocations: 3.234 MB / 0.5865 GB, free: 476 kB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.03929, allocations: 1.322 MB / 0.5878 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.007366/0.04666, allocations: 5.99 MB / 0.5937 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003913/0.05057, allocations: 2.857 MB / 0.5965 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005959/0.05653, allocations: 3.688 MB / 0.6001 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002946/0.05948, allocations: 2.03 MB / 0.602 GB, free: 480 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000793/0.06027, allocations: 364 kB / 0.6024 GB, free: 116 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2176/0.2778, allocations: 433.1 kB / 0.6028 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001389/0.2792, allocations: 1.29 MB / 0.6041 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002569/0.2818, allocations: 1.379 MB / 0.6054 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003484/0.2853, allocations: 3.077 MB / 0.6084 GB, free: 67.85 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2853, allocations: 3.188 kB / 0.6084 GB, free: 67.85 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2853, allocations: 0 / 0.6084 GB, free: 67.85 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000135/0.2854, allocations: 0.5938 kB / 0.6084 GB, free: 67.85 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.005076/0.2905, allocations: 4.585 MB / 0.6129 GB, free: 65.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.2905, allocations: 11 kB / 0.6129 GB, free: 65.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005469/0.296, allocations: 2.323 MB / 0.6152 GB, free: 65.55 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/0.2994, allocations: 2.053 MB / 0.6172 GB, free: 64.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/0.2997, allocations: 466 kB / 0.6176 GB, free: 64.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003747/0.3, allocations: 247.6 kB / 0.6179 GB, free: 64.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004147/0.3042, allocations: 3.195 MB / 0.621 GB, free: 63.42 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/0.3042, allocations: 4.938 kB / 0.621 GB, free: 63.42 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002055/0.3044, allocations: 109.1 kB / 0.6211 GB, free: 63.42 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001687/0.3046, allocations: 169.8 kB / 0.6213 GB, free: 63.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.3066, allocations: 1.207 MB / 0.6224 GB, free: 63.35 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/0.3181, allocations: 7.439 MB / 0.6297 GB, free: 60.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/0.321, allocations: 1.761 MB / 0.6314 GB, free: 60.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006295/0.3217, allocations: 457.1 kB / 0.6319 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-05/0.3218, allocations: 30.62 kB / 0.6319 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/0.3229, allocations: 1.581 MB / 0.6334 GB, free: 59.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=163): time 6.792e-06/0.3229, allocations: 0 / 0.6334 GB, free: 59.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=250): time 0.01368/0.3366, allocations: 6.589 MB / 0.6399 GB, free: 58.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.958e-05/0.3367, allocations: 0.493 MB / 0.6403 GB, free: 58.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.3379, allocations: 1.826 MB / 0.6421 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001791/0.3381, allocations: 79.14 kB / 0.6422 GB, free: 57.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007196/0.3388, allocations: 1.511 MB / 0.6437 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004345/0.3392, allocations: 0.8681 MB / 0.6445 GB, free: 55.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004731/0.3397, allocations: 415.7 kB / 0.6449 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.903e-05/0.3398, allocations: 480.7 kB / 0.6454 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00074/0.3405, allocations: 0.624 MB / 0.646 GB, free: 55.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008485/0.3413, allocations: 1.41 MB / 0.6474 GB, free: 54.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.3428, allocations: 1.559 MB / 0.6489 GB, free: 53.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-06/0.3428, allocations: 6.969 kB / 0.6489 GB, free: 53.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.00505/0.3478, allocations: 3.402 MB / 0.6522 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.596e-05/0.3479, allocations: 153.9 kB / 0.6524 GB, free: 52.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.3479, allocations: 7.781 kB / 0.6524 GB, free: 52.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005558/0.3535, allocations: 2.672 MB / 0.655 GB, free: 51.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009746/0.3544, allocations: 390.8 kB / 0.6554 GB, free: 51.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01294/0.3674, allocations: 10.75 MB / 0.6658 GB, free: 41.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.3691, allocations: 211.8 kB / 0.6661 GB, free: 40.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.3693, allocations: 72.98 kB / 0.6661 GB, free: 40.92 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.0006785/0.3699, allocations: 296 kB / 0.6664 GB, free: 40.63 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003859/0.3703, allocations: 398.1 kB / 0.6668 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.3706, allocations: 357.2 kB / 0.6671 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.3706, allocations: 24 kB / 0.6671 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.846e-05/0.3706, allocations: 12 kB / 0.6672 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.3706, allocations: 11.95 kB / 0.6672 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.3725, allocations: 1.723 MB / 0.6689 GB, free: 38.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.3725, allocations: 4 kB / 0.6689 GB, free: 38.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00072/0.3732, allocations: 302.2 kB / 0.6691 GB, free: 38.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005219/0.3784, allocations: 2.616 MB / 0.6717 GB, free: 35.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002079/0.3786, allocations: 51.95 kB / 0.6717 GB, free: 35.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/0.391, allocations: 10.53 MB / 0.682 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.391, allocations: 3.188 kB / 0.682 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004721/0.3957, allocations: 3.035 MB / 0.685 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008657/0.3966, allocations: 0.5442 MB / 0.6855 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/0.3969, allocations: 47.98 kB / 0.6856 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.3979, allocations: 199.8 kB / 0.6858 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006174/0.3985, allocations: 366.5 kB / 0.6861 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.3986, allocations: 55.95 kB / 0.6862 GB, free: 20.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000648/0.3993, allocations: 1.029 MB / 0.6872 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3993, allocations: 0 / 0.6872 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001787/0.4011, allocations: 1.035 MB / 0.6882 GB, free: 18.73 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.0002612/0.4013, allocations: 164.6 kB / 0.6883 GB, free: 18.58 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006595/0.4079, allocations: 3.914 MB / 0.6922 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4079, allocations: 0 / 0.6922 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005498/0.4134, allocations: 2.801 MB / 0.6949 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003103/0.4165, allocations: 1.098 MB / 0.696 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007061/0.4236, allocations: 5.588 MB / 0.7014 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006598/0.4242, allocations: 0.7836 MB / 0.7022 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00138/0.4256, allocations: 359.5 kB / 0.7025 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001555/0.4272, allocations: 0.9584 MB / 0.7035 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of SimCode: time 1.663e-06/0.4272, allocations: 0 / 0.7035 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of Templates: time 0.1001/0.5273, allocations: 78.3 MB / 0.7799 GB, free: 6.355 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.525775518268347]