Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.208/2.208, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001306/0.001305, allocations: 187.6 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.425/2.425, allocations: 205.4 MB / 0.5772 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009037/0.0009035, allocations: 86.19 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007091/0.0007095, allocations: 9.656 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.231, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02879/0.2599, allocations: 20.26 MB / 0.9193 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03131/0.2912, allocations: 16.51 MB / 0.9354 GB, free: 28.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003565/0.2948, allocations: 107.3 kB / 0.9355 GB, free: 28.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002988/0.2979, allocations: 0.5657 MB / 0.9361 GB, free: 27.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.3098, allocations: 2.852 MB / 0.9388 GB, free: 25.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004578/0.3144, allocations: 0.9577 MB / 0.9398 GB, free: 24.17 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.009567/0.324, allocations: 5.96 MB / 0.9456 GB, free: 18.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004866/0.3289, allocations: 2.255 MB / 0.9478 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004758/0.3337, allocations: 1.961 MB / 0.9497 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005501/0.3393, allocations: 2.222 MB / 0.9519 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.3408, allocations: 176 kB / 0.9521 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003234/0.3441, allocations: 0.4995 MB / 0.9525 GB, free: 11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.002006/0.3461, allocations: 0.9536 MB / 0.9535 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001844/0.348, allocations: 0.6912 MB / 0.9541 GB, free: 9.344 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.006497/0.3545, allocations: 3.931 MB / 0.958 GB, free: 5.402 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3546, allocations: 4 kB / 0.958 GB, free: 5.398 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.605e-06/0.3546, allocations: 0 / 0.958 GB, free: 5.398 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001956/0.3548, allocations: 0 / 0.958 GB, free: 5.398 MB / 0.6042 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.01417/0.369, allocations: 4.107 MB / 0.962 GB, free: 1.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.3691, allocations: 8.031 kB / 0.962 GB, free: 1.172 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03036/0.3994, allocations: 3.374 MB / 0.9653 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01186/0.4114, allocations: 1.981 MB / 0.9672 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009815/0.4124, allocations: 470.3 kB / 0.9677 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001872/0.4143, allocations: 235.9 kB / 0.9679 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0328/0.4472, allocations: 4.853 MB / 0.9726 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001533/0.4474, allocations: 3.984 kB / 0.9727 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001614/0.4491, allocations: 104 kB / 0.9728 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005773/0.4497, allocations: 168.8 kB / 0.9729 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04258/0.4923, allocations: 5.3 MB / 0.9781 GB, free: 408 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05118/0.5436, allocations: 14.58 MB / 0.9923 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.027/0.5706, allocations: 3.675 MB / 0.9959 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007761/0.5784, allocations: 1.588 MB / 0.9975 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/0.5788, allocations: 29.28 kB / 0.9975 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008555/0.5873, allocations: 1.915 MB / 0.9994 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 6.002e-06/0.5874, allocations: 0 / 0.9994 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.3025/0.8899, allocations: 34.11 MB / 1.033 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005521/0.8905, allocations: 0.4928 MB / 1.033 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00953/0.9001, allocations: 2.277 MB / 1.035 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006687/0.9008, allocations: 81.64 kB / 1.035 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002016/0.9028, allocations: 1.434 MB / 1.037 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001516/0.9044, allocations: 0.8124 MB / 1.038 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003733/0.9048, allocations: 48 kB / 1.038 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002509/0.905, allocations: 398.6 kB / 1.038 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01337/0.9184, allocations: 2.105 MB / 1.04 GB, free: 15.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01667/0.9352, allocations: 2.419 MB / 1.042 GB, free: 12.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01551/0.9507, allocations: 2.288 MB / 1.045 GB, free: 10.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-05/0.9508, allocations: 0 / 1.045 GB, free: 10.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.05332/1.004, allocations: 6.895 MB / 1.051 GB, free: 3.387 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002157/1.004, allocations: 148.5 kB / 1.052 GB, free: 3.211 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/1.004, allocations: 4 kB / 1.052 GB, free: 3.207 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.028/1.032, allocations: 2.938 MB / 1.054 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.601/1.634, allocations: 0.5705 MB / 1.055 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07316/1.707, allocations: 17.31 MB / 1.072 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007783/1.715, allocations: 423.9 kB / 1.072 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007788/1.715, allocations: 87.42 kB / 1.072 GB, free: 137.5 MB / 0.698 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.002823/1.718, allocations: 0.7074 MB / 1.073 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/1.719, allocations: 332 kB / 1.073 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/1.721, allocations: 383.8 kB / 1.074 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.747e-05/1.721, allocations: 11.02 kB / 1.074 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.721, allocations: 1.594 kB / 1.074 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002633/1.723, allocations: 0.7029 MB / 1.074 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001311/1.725, allocations: 52.34 kB / 1.075 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007058/1.732, allocations: 404.7 kB / 1.075 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001904/1.734, allocations: 431.6 kB / 1.075 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03797/1.772, allocations: 6.686 MB / 1.082 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04871/1.821, allocations: 7.058 MB / 1.089 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01629/1.837, allocations: 2.315 MB / 1.091 GB, free: 131.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005355/1.842, allocations: 1.511 MB / 1.093 GB, free: 130.9 MB / 0.698 GB Notification: Performance of Backend: time 2.084e-06/1.842, allocations: 2.719 kB / 1.093 GB, free: 130.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.05503/1.897, allocations: 5.069 MB / 1.097 GB, free: 127.6 MB / 0.698 GB Notification: Performance of SimCode: time 0.01886/1.916, allocations: 8.441 MB / 1.106 GB, free: 119.1 MB / 0.698 GB Notification: Performance of Templates: time 0.1642/2.081, allocations: 73.6 MB / 1.178 GB, free: 46.17 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)