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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 103.8 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 186.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] 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.002513/0.002513, allocations: 283.5 kB / 302.9 MB, free: 9.523 MB / 238.1 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 1.233/1.233, allocations: 180.9 MB / 0.5261 GB, free: 14.75 MB / 382.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00282/0.00282, allocations: 106.6 kB / 0.7253 GB, free: 39.93 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1798, allocations: 94.16 MB / 0.8172 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02949/0.2093, allocations: 22.92 MB / 0.8396 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03269/0.242, allocations: 17.8 MB / 0.857 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004372/0.2464, allocations: 111.4 kB / 0.8571 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01245/0.2588, allocations: 4.226 MB / 0.8612 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01303/0.2719, allocations: 3.593 MB / 0.8647 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00469/0.2765, allocations: 1.311 MB / 0.866 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01139/0.2879, allocations: 5.781 MB / 0.8717 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007164/0.2951, allocations: 2.804 MB / 0.8744 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006626/0.3017, allocations: 2.484 MB / 0.8768 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006724/0.3084, allocations: 2.498 MB / 0.8793 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002695/0.3111, allocations: 368 kB / 0.8796 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00467/0.3158, allocations: 1.061 MB / 0.8807 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0032/0.319, allocations: 1.222 MB / 0.8819 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.006898/0.3259, allocations: 1.998 MB / 0.8838 GB, free: 488 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.3384, allocations: 5.199 MB / 0.8889 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.3384, allocations: 7.938 kB / 0.8889 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3384, allocations: 0 / 0.8889 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002455/0.3387, allocations: 0 / 0.8889 GB, free: 11.25 MB / 0.6387 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.01483/0.3535, allocations: 4.726 MB / 0.8935 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/0.3536, allocations: 15.97 kB / 0.8935 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01691/0.3705, allocations: 3.275 MB / 0.8967 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006399/0.3769, allocations: 2.254 MB / 0.8989 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006912/0.3776, allocations: 466.3 kB / 0.8994 GB, free: 276 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001207/0.3788, allocations: 231.9 kB / 0.8996 GB, free: 44 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01536/0.3941, allocations: 4.818 MB / 0.9043 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/0.3942, allocations: 7.922 kB / 0.9043 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009497/0.3952, allocations: 103.9 kB / 0.9044 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002541/0.3954, allocations: 172.8 kB / 0.9046 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01586/0.4113, allocations: 5.191 MB / 0.9096 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02867/0.44, allocations: 14.42 MB / 0.9237 GB, free: 6 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/0.4508, allocations: 3.254 MB / 0.9269 GB, free: 2.738 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004182/0.455, allocations: 1.381 MB / 0.9282 GB, free: 1.355 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.4552, allocations: 21.3 kB / 0.9283 GB, free: 1.332 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004996/0.4602, allocations: 1.786 MB / 0.93 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=163): time 4.698e-06/0.4602, allocations: 0 / 0.93 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of matching and sorting (n=250): time 0.1357/0.5959, allocations: 28.21 MB / 0.9576 GB, free: 3.051 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003679/0.5963, allocations: 0.4889 MB / 0.958 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004817/0.6011, allocations: 2.312 MB / 0.9603 GB, free: 128 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004897/0.6016, allocations: 73.7 kB / 0.9604 GB, free: 48 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001797/0.6034, allocations: 1.452 MB / 0.9618 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001282/0.6046, allocations: 0.8636 MB / 0.9626 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001392/0.606, allocations: 416.5 kB / 0.963 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6062, allocations: 301.1 kB / 0.9633 GB, free: 13 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005773/0.6119, allocations: 1.929 MB / 0.9652 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006097/0.618, allocations: 2.231 MB / 0.9674 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/0.6296, allocations: 4.169 MB / 0.9714 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.6296, allocations: 0 / 0.9714 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.021/0.6506, allocations: 6.475 MB / 0.9778 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.6508, allocations: 148.5 kB / 0.9779 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/0.6508, allocations: 4 kB / 0.9779 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01102/0.6618, allocations: 2.926 MB / 0.9808 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/0.665, allocations: 495.1 kB / 0.9812 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04432/0.7093, allocations: 18.86 MB / 0.9997 GB, free: 7.164 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004234/0.7135, allocations: 327.6 kB / 1 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003885/0.7139, allocations: 83.98 kB / 1 GB, free: 6.762 MB / 0.7481 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.001627/0.7155, allocations: 0.7066 MB / 1.001 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007404/0.7163, allocations: 345.9 kB / 1.001 GB, free: 5.703 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007549/0.717, allocations: 384.1 kB / 1.001 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-05/0.7171, allocations: 24 kB / 1.001 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-05/0.7171, allocations: 12 kB / 1.001 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/0.7171, allocations: 11.95 kB / 1.001 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005153/0.7223, allocations: 3.628 MB / 1.005 GB, free: 1.586 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.7223, allocations: 4 kB / 1.005 GB, free: 1.582 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002479/0.7248, allocations: 415.3 kB / 1.005 GB, free: 1.176 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4533/1.178, allocations: 2.866 MB / 1.008 GB, free: 173.3 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005361/1.179, allocations: 51.53 kB / 1.008 GB, free: 173.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03968/1.218, allocations: 18.63 MB / 1.026 GB, free: 166.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.218, allocations: 0 / 1.026 GB, free: 166.2 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/1.234, allocations: 6.112 MB / 1.032 GB, free: 164.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001764/1.236, allocations: 0.7183 MB / 1.033 GB, free: 164.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005595/1.237, allocations: 51.53 kB / 1.033 GB, free: 164.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003094/1.24, allocations: 309.8 kB / 1.033 GB, free: 164.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001205/1.241, allocations: 356.8 kB / 1.034 GB, free: 164 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002001/1.241, allocations: 67.34 kB / 1.034 GB, free: 164 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00181/1.243, allocations: 1.533 MB / 1.035 GB, free: 163.4 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/1.243, allocations: 0 / 1.035 GB, free: 163.4 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002675/1.246, allocations: 1.043 MB / 1.036 GB, free: 163.3 MB / 0.7481 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.0003724/1.246, allocations: 177.7 kB / 1.037 GB, free: 163.2 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.03286/1.279, allocations: 6.315 MB / 1.043 GB, free: 159.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/1.279, allocations: 4 kB / 1.043 GB, free: 159.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.02965/1.309, allocations: 3.935 MB / 1.047 GB, free: 155.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008212/1.317, allocations: 1.141 MB / 1.048 GB, free: 154.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0229/1.34, allocations: 6.791 MB / 1.054 GB, free: 148 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002289/1.342, allocations: 2.231 MB / 1.057 GB, free: 145.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003954/1.346, allocations: 0.5097 MB / 1.057 GB, free: 145.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/1.347, allocations: 187.4 kB / 1.057 GB, free: 145.1 MB / 0.7481 GB Notification: Performance of SimCode: time 1.623e-06/1.347, allocations: 0 / 1.057 GB, free: 145.1 MB / 0.7481 GB Notification: Performance of Templates: time 0.1775/1.525, allocations: 76.29 MB / 1.132 GB, free: 69.78 MB / 0.7481 GB " [Timeout remaining time 658] 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: 10.058799197897315]