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.00179/0.00179, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002014/0.002014, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.416/1.416, allocations: 225.6 MB / 249.4 MB, free: 3.332 MB / 190.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.002451/0.002451, allocations: 290.9 kB / 304.8 MB, free: 3.461 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.071/1.071, allocations: 180.9 MB / 0.5282 GB, free: 2.016 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.002854/0.002854, allocations: 99.83 kB / 0.7284 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5212/0.524, allocations: 94.16 MB / 0.8203 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02848/0.5525, allocations: 23.5 MB / 0.8433 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03122/0.5837, allocations: 18.14 MB / 0.861 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004122/0.5879, allocations: 111.4 kB / 0.8611 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01299/0.6009, allocations: 4.312 MB / 0.8653 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01303/0.6139, allocations: 3.575 MB / 0.8688 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004359/0.6182, allocations: 1.337 MB / 0.8701 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01006/0.6283, allocations: 5.784 MB / 0.8757 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005861/0.6342, allocations: 2.464 MB / 0.8781 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005411/0.6396, allocations: 2.48 MB / 0.8806 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006505/0.6461, allocations: 2.51 MB / 0.883 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002482/0.6486, allocations: 368 kB / 0.8834 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004358/0.6529, allocations: 1.057 MB / 0.8844 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00237/0.6553, allocations: 1.222 MB / 0.8856 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004891/0.6602, allocations: 1.998 MB / 0.8875 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.6705, allocations: 5.211 MB / 0.8926 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.6705, allocations: 0 / 0.8926 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.525e-06/0.6705, allocations: 0 / 0.8926 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002355/0.6707, allocations: 3.938 kB / 0.8926 GB, free: 3.465 MB / 0.6231 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.01418/0.6849, allocations: 4.722 MB / 0.8972 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.6849, allocations: 12.03 kB / 0.8973 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01679/0.7017, allocations: 3.279 MB / 0.9005 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005945/0.7077, allocations: 2.254 MB / 0.9027 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005443/0.7082, allocations: 470.3 kB / 0.9031 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001185/0.7094, allocations: 235.9 kB / 0.9033 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0145/0.7239, allocations: 4.814 MB / 0.908 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.542e-05/0.724, allocations: 0 / 0.908 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009529/0.725, allocations: 112 kB / 0.9081 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002663/0.7252, allocations: 168.8 kB / 0.9083 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01466/0.7399, allocations: 5.191 MB / 0.9134 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02656/0.7664, allocations: 14.41 MB / 0.9274 GB, free: 14.23 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.7768, allocations: 3.262 MB / 0.9306 GB, free: 10.96 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003946/0.7807, allocations: 1.373 MB / 0.932 GB, free: 9.582 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.7809, allocations: 29.28 kB / 0.932 GB, free: 9.551 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004887/0.7858, allocations: 1.786 MB / 0.9337 GB, free: 7.699 MB / 0.67 GB Notification: Performance of pre-optimization done (n=163): time 5.139e-06/0.7858, allocations: 0 / 0.9337 GB, free: 7.699 MB / 0.67 GB Notification: Performance of matching and sorting (n=250): time 0.1272/0.913, allocations: 28.21 MB / 0.9613 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003038/0.9133, allocations: 0.4928 MB / 0.9618 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003917/0.9172, allocations: 2.3 MB / 0.964 GB, free: 8.352 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003898/0.9176, allocations: 81.69 kB / 0.9641 GB, free: 8.266 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001417/0.919, allocations: 1.452 MB / 0.9655 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009867/0.92, allocations: 0.8598 MB / 0.9664 GB, free: 5.934 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/0.9211, allocations: 416.5 kB / 0.9668 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9212, allocations: 305.1 kB / 0.967 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005448/0.9267, allocations: 1.929 MB / 0.9689 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005718/0.9324, allocations: 2.233 MB / 0.9711 GB, free: 0.9688 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/0.9431, allocations: 4.165 MB / 0.9752 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.9431, allocations: 0 / 0.9752 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01901/0.9621, allocations: 6.483 MB / 0.9815 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.9622, allocations: 151.3 kB / 0.9817 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.9622, allocations: 4 kB / 0.9817 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/0.9725, allocations: 2.926 MB / 0.9845 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002717/0.9752, allocations: 487.2 kB / 0.985 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0416/1.017, allocations: 18.85 MB / 1.003 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003892/1.021, allocations: 319.6 kB / 1.004 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000402/1.021, allocations: 95.91 kB / 1.004 GB, free: 15 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.001608/1.023, allocations: 0.7175 MB / 1.004 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007363/1.023, allocations: 345.9 kB / 1.005 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008718/1.024, allocations: 380.1 kB / 1.005 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/1.024, allocations: 24 kB / 1.005 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.066e-05/1.024, allocations: 8 kB / 1.005 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.08e-05/1.024, allocations: 19.95 kB / 1.005 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005324/1.03, allocations: 3.632 MB / 1.009 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/1.03, allocations: 0 / 1.009 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002445/1.032, allocations: 411.4 kB / 1.009 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01016/1.042, allocations: 2.865 MB / 1.012 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003662/1.043, allocations: 55.91 kB / 1.012 GB, free: 6.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04148/1.084, allocations: 18.64 MB / 1.03 GB, free: 3.547 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.084, allocations: 3.938 kB / 1.03 GB, free: 3.543 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01852/1.103, allocations: 6.105 MB / 1.036 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002093/1.105, allocations: 0.7173 MB / 1.037 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009365/1.106, allocations: 48.5 kB / 1.037 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003513/1.109, allocations: 315.6 kB / 1.037 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001364/1.111, allocations: 354.7 kB / 1.038 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003022/1.111, allocations: 71.97 kB / 1.038 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003047/1.114, allocations: 1.532 MB / 1.039 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.81e-07/1.114, allocations: 0 / 1.039 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003452/1.117, allocations: 1.047 MB / 1.04 GB, free: 9.316 MB / 0.7794 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.0004498/1.118, allocations: 168.1 kB / 1.04 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02351/1.141, allocations: 6.317 MB / 1.046 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/1.141, allocations: 4 kB / 1.046 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01766/1.159, allocations: 3.939 MB / 1.05 GB, free: 14.76 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005803/1.165, allocations: 1.132 MB / 1.051 GB, free: 13.68 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/1.181, allocations: 6.826 MB / 1.058 GB, free: 6.816 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002734/1.184, allocations: 2.234 MB / 1.06 GB, free: 4.551 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002397/1.186, allocations: 0.5099 MB / 1.061 GB, free: 4.035 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007669/1.187, allocations: 187.4 kB / 1.061 GB, free: 3.852 MB / 0.795 GB Notification: Performance of SimCode: time 1.263e-06/1.187, allocations: 0 / 1.061 GB, free: 3.852 MB / 0.795 GB Notification: Performance of Templates: time 0.4855/1.673, allocations: 77.69 MB / 1.137 GB, free: 227.9 MB / 0.8262 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: 9.770686759613454]