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.0006577/0.0006577, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001689, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006788/0.0006788, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008887/0.001567, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08069/0.9735, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001245/0.001245, allocations: 223.5 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.002245, allocations: 475 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7094/0.7094, allocations: 138.7 MB / 384.3 MB, free: 368 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06744/0.7768, allocations: 42.41 MB / 426.7 MB, free: 5.832 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.333e-06/1.333e-06, allocations: 0 / 428.1 MB, free: 4.469 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169e-05/1.303e-05, allocations: 6.25 kB / 428.1 MB, free: 4.461 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.2103/0.2103, allocations: 15.44 MB / 443.5 MB, free: 12.4 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01568/0.226, allocations: 13.05 MB / 456.6 MB, free: 3.469 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.2275, allocations: 145.9 kB / 456.7 MB, free: 3.398 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.2287, allocations: 0.7661 MB / 457.5 MB, free: 2.746 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005354/0.234, allocations: 3.519 MB / 461 MB, free: 15.68 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.2362, allocations: 1.311 MB / 462.3 MB, free: 14.38 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005383/0.2416, allocations: 6.343 MB / 468.7 MB, free: 8.031 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002637/0.2442, allocations: 2.782 MB / 471.4 MB, free: 5.168 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003891/0.2481, allocations: 4.168 MB / 475.6 MB, free: 0.9531 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.25, allocations: 2.202 MB / 477.8 MB, free: 14.76 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003439/0.2503, allocations: 364 kB / 478.2 MB, free: 14.4 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006131/0.2509, allocations: 443.8 kB / 478.6 MB, free: 13.97 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005956/0.2515, allocations: 1.034 MB / 479.6 MB, free: 12.93 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008822/0.2524, allocations: 1.131 MB / 480.8 MB, free: 11.8 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002238/0.2547, allocations: 2.865 MB / 483.6 MB, free: 8.926 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.2547, allocations: 0 / 483.6 MB, free: 8.926 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2547, allocations: 0 / 483.6 MB, free: 8.926 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.18e-05/0.2547, allocations: 0 / 483.6 MB, free: 8.926 MB / 458.7 MB 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.004229/0.2589, allocations: 5.109 MB / 488.7 MB, free: 3.754 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.603e-05/0.2589, allocations: 12.03 kB / 488.7 MB, free: 3.742 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005353/0.2643, allocations: 2.102 MB / 490.9 MB, free: 1.676 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.2661, allocations: 1.831 MB / 492.7 MB, free: 15.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/0.2663, allocations: 464.5 kB / 493.1 MB, free: 15.26 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002926/0.2666, allocations: 245.2 kB / 493.4 MB, free: 15.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/0.2696, allocations: 3.245 MB / 496.6 MB, free: 11.54 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/0.2697, allocations: 11.88 kB / 496.6 MB, free: 11.53 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/0.2699, allocations: 99.98 kB / 496.7 MB, free: 11.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/0.27, allocations: 164.8 kB / 496.9 MB, free: 11.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.2715, allocations: 0.9797 MB / 497.9 MB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006664/0.2782, allocations: 5.795 MB / 0.4919 GB, free: 4.387 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0024/0.2806, allocations: 1.607 MB / 0.4934 GB, free: 2.789 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004092/0.281, allocations: 385.9 kB / 0.4938 GB, free: 2.418 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.608e-05/0.2811, allocations: 25.31 kB / 0.4938 GB, free: 2.395 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009425/0.282, allocations: 1.538 MB / 0.4953 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of pre-optimization done (n=163): time 2.455e-06/0.282, allocations: 0 / 0.4953 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of matching and sorting (n=163): time 0.006052/0.2881, allocations: 3.446 MB / 0.4987 GB, free: 13.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.2881, allocations: 84.7 kB / 0.4988 GB, free: 13.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.2894, allocations: 1.687 MB / 0.5004 GB, free: 11.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.2895, allocations: 65.7 kB / 0.5005 GB, free: 11.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004597/0.29, allocations: 1.043 MB / 0.5015 GB, free: 10.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/0.2903, allocations: 0.5537 MB / 0.502 GB, free: 9.695 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003532/0.2907, allocations: 307.3 kB / 0.5023 GB, free: 9.391 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.079e-05/0.2907, allocations: 305.1 kB / 0.5026 GB, free: 9.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/0.2912, allocations: 409.7 kB / 0.503 GB, free: 8.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006573/0.2918, allocations: 1.068 MB / 0.5041 GB, free: 7.391 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009641/0.2928, allocations: 1.067 MB / 0.5051 GB, free: 6.223 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2928, allocations: 0 / 0.5051 GB, free: 6.223 MB / 490.7 MB Notification: Performance of matching and sorting (n=212) (initialization): time 0.002752/0.2955, allocations: 1.928 MB / 0.507 GB, free: 4.223 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.921e-05/0.2956, allocations: 152.4 kB / 0.5071 GB, free: 4.043 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2956, allocations: 4.688 kB / 0.5071 GB, free: 4.039 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/0.2982, allocations: 1.241 MB / 0.5083 GB, free: 2.801 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008725/0.299, allocations: 359.5 kB / 0.5087 GB, free: 2.449 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007054/0.3061, allocations: 4.843 MB / 0.5134 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009137/0.307, allocations: 246.8 kB / 0.5136 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.723e-05/0.3071, allocations: 59.97 kB / 0.5137 GB, free: 13.27 MB / 0.4948 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 (136): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of prepare postOptimizeDAE: time 0.0004291/0.3075, allocations: 222.3 kB / 0.5139 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/0.3078, allocations: 231.7 kB / 0.5141 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.308, allocations: 294.3 kB / 0.5144 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.308, allocations: 16 kB / 0.5144 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.308, allocations: 1.688 kB / 0.5144 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.3081, allocations: 9.375 kB / 0.5144 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.3093, allocations: 1.21 MB / 0.5156 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.3093, allocations: 0 / 0.5156 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006962/0.31, allocations: 263.6 kB / 0.5159 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004589/0.3104, allocations: 361.8 kB / 0.5162 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002492/0.3129, allocations: 1.208 MB / 0.5174 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.778e-05/0.313, allocations: 35.97 kB / 0.5174 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006801/0.3198, allocations: 4.604 MB / 0.5219 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3198, allocations: 0 / 0.5219 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.322, allocations: 1.549 MB / 0.5234 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.3222, allocations: 40.55 kB / 0.5235 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007024/0.3229, allocations: 147.8 kB / 0.5236 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003041/0.3232, allocations: 225.6 kB / 0.5238 GB, free: 2.734 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-05/0.3233, allocations: 31.97 kB / 0.5239 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005979/0.3239, allocations: 0.8961 MB / 0.5247 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.3239, allocations: 4 kB / 0.5248 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001317/0.3252, allocations: 0.9631 MB / 0.5257 GB, free: 0.8281 MB / 0.4948 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 (92): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001911/0.3254, allocations: 132.3 kB / 0.5258 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003381/0.3287, allocations: 2.267 MB / 0.528 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.053e-05/0.3288, allocations: 32.5 kB / 0.5281 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002476/0.3313, allocations: 1.501 MB / 0.5295 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004354/0.3356, allocations: 9.74 MB / 0.539 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/0.3553, allocations: 5.005 MB / 0.5439 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.3557, allocations: 0.6579 MB / 0.5446 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008008/0.3565, allocations: 347 kB / 0.5449 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/0.3579, allocations: 0.8269 MB / 0.5457 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/0.3579, allocations: 0 / 0.5457 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of Templates: time 0.07124/0.4292, allocations: 61.46 MB / 0.6057 GB, free: 14.08 MB / 0.5886 GB " [Timeout remaining time 660] 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: 4.597643307410181]