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.000669/0.000669, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.0007956/0.0007956, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8712/0.8712, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.001435/0.001435, allocations: 237.4 kB / 260.2 MB, free: 13.01 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.6722/0.6722, allocations: 138.4 MB / 455.1 MB, free: 30.05 MB / 410.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.152e-06/1.152e-06, allocations: 0 / 0.6475 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.487e-05, allocations: 2.281 kB / 0.6476 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.2289/0.2289, allocations: 20.92 MB / 0.668 GB, free: 45.06 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01528/0.2442, allocations: 16.65 MB / 0.6842 GB, free: 34.37 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002692/0.2469, allocations: 149.7 kB / 0.6844 GB, free: 34.29 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00506/0.2519, allocations: 4.175 MB / 0.6885 GB, free: 31.96 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.008095/0.26, allocations: 3.704 MB / 0.6921 GB, free: 29.7 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002599/0.2626, allocations: 1.325 MB / 0.6934 GB, free: 29 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006094/0.2687, allocations: 5.977 MB / 0.6992 GB, free: 26.08 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003183/0.2719, allocations: 2.848 MB / 0.702 GB, free: 24.54 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004504/0.2764, allocations: 3.479 MB / 0.7054 GB, free: 23.03 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002624/0.279, allocations: 2.024 MB / 0.7074 GB, free: 21.9 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.000631/0.2797, allocations: 371.2 kB / 0.7077 GB, free: 21.9 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.2812, allocations: 0.9744 MB / 0.7087 GB, free: 21.54 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0006519/0.2819, allocations: 1.274 MB / 0.7099 GB, free: 20.6 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001315/0.2832, allocations: 1.377 MB / 0.7113 GB, free: 19.86 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003788/0.287, allocations: 5.231 MB / 0.7164 GB, free: 16.26 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.287, allocations: 1.156 kB / 0.7164 GB, free: 16.26 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.393e-06/0.287, allocations: 0 / 0.7164 GB, free: 16.26 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001357/0.2871, allocations: 3.938 kB / 0.7164 GB, free: 16.25 MB / 0.5573 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.005795/0.2929, allocations: 4.617 MB / 0.7209 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.293, allocations: 10.53 kB / 0.7209 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007498/0.3005, allocations: 3.285 MB / 0.7241 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002518/0.303, allocations: 2.138 MB / 0.7262 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.3032, allocations: 464.5 kB / 0.7266 GB, free: 9.621 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002927/0.3035, allocations: 231.5 kB / 0.7269 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005087/0.3085, allocations: 5.886 MB / 0.7326 GB, free: 3.25 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.3086, allocations: 3.938 kB / 0.7326 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002174/0.3088, allocations: 112 kB / 0.7327 GB, free: 3.137 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.692e-05/0.3089, allocations: 173.9 kB / 0.7329 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006612/0.3155, allocations: 5.194 MB / 0.738 GB, free: 13.75 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/0.3257, allocations: 8.757 MB / 0.7465 GB, free: 4.906 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005101/0.3308, allocations: 3.247 MB / 0.7497 GB, free: 1.648 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/0.3328, allocations: 1.374 MB / 0.751 GB, free: 280 kB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.205e-05/0.3329, allocations: 25.25 kB / 0.751 GB, free: 252 kB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002454/0.3354, allocations: 2.45 MB / 0.7534 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=163): time 2.935e-06/0.3354, allocations: 4 kB / 0.7534 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=250): time 0.06172/0.3971, allocations: 27.52 MB / 0.7803 GB, free: 2.008 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/0.3973, allocations: 0.4889 MB / 0.7808 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/0.3992, allocations: 1.998 MB / 0.7827 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.3993, allocations: 77.69 kB / 0.7828 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009026/0.4002, allocations: 1.473 MB / 0.7842 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000521/0.4007, allocations: 0.8481 MB / 0.7851 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000548/0.4013, allocations: 412.5 kB / 0.7855 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.078e-05/0.4014, allocations: 305.1 kB / 0.7858 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002993/0.4044, allocations: 2.07 MB / 0.7878 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003247/0.4076, allocations: 2.774 MB / 0.7905 GB, free: 7.168 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005819/0.4134, allocations: 4.161 MB / 0.7946 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.4134, allocations: 0 / 0.7946 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01008/0.4235, allocations: 6.591 MB / 0.801 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.003e-05/0.4236, allocations: 160.4 kB / 0.8011 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.4236, allocations: 4 kB / 0.8011 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005211/0.4288, allocations: 2.913 MB / 0.804 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.4301, allocations: 495.2 kB / 0.8045 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02254/0.4527, allocations: 18.19 MB / 0.8222 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/0.4549, allocations: 328.2 kB / 0.8225 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.4551, allocations: 91.97 kB / 0.8226 GB, free: 5.793 MB / 0.6511 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.001233/0.4563, allocations: 0.7031 MB / 0.8233 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/0.4566, allocations: 318.1 kB / 0.8236 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.4569, allocations: 357.2 kB / 0.824 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.457, allocations: 31.88 kB / 0.824 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-05/0.457, allocations: 15.31 kB / 0.824 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.457, allocations: 11.95 kB / 0.824 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002616/0.4596, allocations: 2.722 MB / 0.8267 GB, free: 1.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.4596, allocations: 0 / 0.8267 GB, free: 1.598 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.4608, allocations: 419.4 kB / 0.8271 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005054/0.4658, allocations: 2.859 MB / 0.8299 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/0.4659, allocations: 55.95 kB / 0.8299 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0221/0.488, allocations: 17.96 MB / 0.8475 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4881, allocations: 0 / 0.8475 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009716/0.4978, allocations: 6.083 MB / 0.8534 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.4988, allocations: 0.611 MB / 0.854 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002779/0.4991, allocations: 50.31 kB / 0.854 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.5006, allocations: 319.5 kB / 0.8544 GB, free: 5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007101/0.5013, allocations: 362.5 kB / 0.8547 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/0.5014, allocations: 67.97 kB / 0.8548 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001309/0.5027, allocations: 1.316 MB / 0.8561 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6e-08/0.5027, allocations: 0 / 0.8561 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001938/0.5047, allocations: 1.035 MB / 0.8571 GB, free: 2.223 MB / 0.6823 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.0002841/0.5049, allocations: 171.6 kB / 0.8572 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01179/0.5167, allocations: 6.45 MB / 0.8635 GB, free: 11.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5167, allocations: 4 kB / 0.8635 GB, free: 11.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.008214/0.5249, allocations: 3.92 MB / 0.8674 GB, free: 7.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/0.5274, allocations: 1.046 MB / 0.8684 GB, free: 6.551 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009299/0.5367, allocations: 6.956 MB / 0.8752 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/0.5381, allocations: 1.683 MB / 0.8768 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006391/0.5387, allocations: 192.4 kB / 0.877 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of SimCode: time 9.92e-07/0.5387, allocations: 0 / 0.877 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of Templates: time 0.2703/0.809, allocations: 79.63 MB / 0.9548 GB, free: 239.8 MB / 0.7605 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: 13.473334128037095] Failed to read output from testmodel.py, exit status != 0: 0.8143366761505604 0.8222922970000001 0.533553285 Calling exit ...