Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.753/1.753, allocations: 288.4 MB / 303.7 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001393/0.001393, allocations: 176.4 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.4 MB / 0.631 GB, free: 9.926 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009157/0.0009158, allocations: 82.38 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005707/0.0005708, allocations: 14.66 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2339, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01628/0.2503, allocations: 20.26 MB / 0.9999 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02224/0.2725, allocations: 16.51 MB / 1.016 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003868/0.2764, allocations: 99.44 kB / 1.016 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002662/0.2791, allocations: 0.5618 MB / 1.017 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01065/0.2898, allocations: 3.039 MB / 1.02 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003614/0.2934, allocations: 0.9527 MB / 1.021 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008972/0.3024, allocations: 5.96 MB / 1.026 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004383/0.3068, allocations: 2.55 MB / 1.029 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004254/0.3111, allocations: 1.977 MB / 1.031 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004743/0.3159, allocations: 2.206 MB / 1.033 GB, free: 5.016 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0009123/0.3168, allocations: 176 kB / 1.033 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.3194, allocations: 1.018 MB / 1.034 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.3205, allocations: 0.9536 MB / 1.035 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002701/0.3232, allocations: 1.704 MB / 1.037 GB, free: 1.148 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004927/0.3281, allocations: 3.954 MB / 1.041 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3282, allocations: 0 / 1.041 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3282, allocations: 0 / 1.041 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001661/0.3284, allocations: 0 / 1.041 GB, free: 13.18 MB / 0.6667 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.009128/0.3375, allocations: 4.076 MB / 1.045 GB, free: 8.996 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3376, allocations: 8.031 kB / 1.045 GB, free: 8.988 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01557/0.3531, allocations: 3.371 MB / 1.048 GB, free: 5.609 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005038/0.3582, allocations: 2.084 MB / 1.05 GB, free: 3.457 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004224/0.3587, allocations: 466.3 kB / 1.05 GB, free: 2.938 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000701/0.3594, allocations: 239.9 kB / 1.051 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01124/0.3706, allocations: 4.845 MB / 1.055 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.36e-05/0.3707, allocations: 7.938 kB / 1.055 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000305/0.371, allocations: 115.9 kB / 1.055 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002031/0.3712, allocations: 168.8 kB / 1.056 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01312/0.3844, allocations: 5.296 MB / 1.061 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4955/0.8799, allocations: 14.61 MB / 1.075 GB, free: 77.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01099/0.891, allocations: 3.666 MB / 1.079 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004393/0.8954, allocations: 1.59 MB / 1.08 GB, free: 75.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/0.8956, allocations: 22.53 kB / 1.08 GB, free: 75.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005389/0.901, allocations: 1.908 MB / 1.082 GB, free: 74.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 6.362e-06/0.901, allocations: 3.906 kB / 1.082 GB, free: 74.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.1353/1.036, allocations: 34.11 MB / 1.115 GB, free: 64.45 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001938/1.037, allocations: 0.4958 MB / 1.116 GB, free: 63.87 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004488/1.041, allocations: 2.272 MB / 1.118 GB, free: 62.67 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007096/1.042, allocations: 76.2 kB / 1.118 GB, free: 62.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001387/1.043, allocations: 1.432 MB / 1.12 GB, free: 61.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001187/1.044, allocations: 0.8206 MB / 1.12 GB, free: 60.63 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003502/1.045, allocations: 55.06 kB / 1.12 GB, free: 60.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.045, allocations: 392.6 kB / 1.121 GB, free: 60.22 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005219/1.05, allocations: 2.111 MB / 1.123 GB, free: 58.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005169/1.055, allocations: 2.402 MB / 1.125 GB, free: 55.71 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009777/1.065, allocations: 4.532 MB / 1.13 GB, free: 51.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/1.065, allocations: 4 kB / 1.13 GB, free: 51.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01765/1.083, allocations: 6.885 MB / 1.136 GB, free: 44.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.467e-05/1.083, allocations: 150.2 kB / 1.136 GB, free: 43.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/1.083, allocations: 4 kB / 1.136 GB, free: 43.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009402/1.093, allocations: 2.947 MB / 1.139 GB, free: 40.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002864/1.095, allocations: 0.5734 MB / 1.14 GB, free: 40.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03373/1.129, allocations: 17.32 MB / 1.157 GB, free: 22.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004205/1.133, allocations: 415.6 kB / 1.157 GB, free: 22.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005092/1.134, allocations: 91.97 kB / 1.157 GB, free: 22.34 MB / 0.6823 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001894/1.136, allocations: 0.7105 MB / 1.158 GB, free: 21.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008568/1.137, allocations: 328.1 kB / 1.158 GB, free: 21.29 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007451/1.138, allocations: 384.1 kB / 1.159 GB, free: 20.91 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/1.138, allocations: 27.98 kB / 1.159 GB, free: 20.88 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-05/1.138, allocations: 16 kB / 1.159 GB, free: 20.87 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.256e-05/1.138, allocations: 15.12 kB / 1.159 GB, free: 20.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004958/1.143, allocations: 3.615 MB / 1.162 GB, free: 17.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-05/1.143, allocations: 3.938 kB / 1.162 GB, free: 17.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002731/1.145, allocations: 0.4994 MB / 1.163 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009401/1.155, allocations: 2.872 MB / 1.166 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005931/1.155, allocations: 46.33 kB / 1.166 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03512/1.191, allocations: 17.11 MB / 1.182 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/1.191, allocations: 3.984 kB / 1.182 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02031/1.211, allocations: 6.534 MB / 1.189 GB, free: 5.863 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002964/1.214, allocations: 0.6961 MB / 1.189 GB, free: 5.145 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001441/1.215, allocations: 47.98 kB / 1.189 GB, free: 5.098 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004173/1.22, allocations: 407.6 kB / 1.19 GB, free: 4.699 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001542/1.221, allocations: 370.6 kB / 1.19 GB, free: 4.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004432/1.222, allocations: 67.97 kB / 1.19 GB, free: 4.273 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003581/1.225, allocations: 1.517 MB / 1.192 GB, free: 2.758 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.225, allocations: 0 / 1.192 GB, free: 2.758 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004226/1.23, allocations: 1.043 MB / 1.193 GB, free: 1.715 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005447/1.23, allocations: 164.6 kB / 1.193 GB, free: 1.543 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02385/1.254, allocations: 6.831 MB / 1.2 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/1.254, allocations: 4 kB / 1.2 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01779/1.272, allocations: 4.222 MB / 1.204 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00683/1.279, allocations: 1.036 MB / 1.205 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/1.298, allocations: 7.736 MB / 1.212 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00275/1.301, allocations: 2.235 MB / 1.214 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00297/1.304, allocations: 0.506 MB / 1.215 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008182/1.305, allocations: 175.4 kB / 1.215 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of SimCode: time 1.443e-06/1.305, allocations: 0 / 1.215 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of Templates: time 0.1394/1.444, allocations: 70.88 MB / 1.284 GB, free: 4.418 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)