Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.727/1.727, allocations: 287.4 MB / 303.2 MB, free: 8.199 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.001023/0.001023, allocations: 184.4 kB / 371.8 MB, free: 10.8 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.656/1.656, allocations: 205.4 MB / 0.6304 GB, free: 10.55 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.0008352/0.0008348, allocations: 85.28 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003563, allocations: 15.02 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.222, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01703/0.2391, allocations: 20.26 MB / 0.9991 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02377/0.2629, allocations: 16.49 MB / 1.015 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00421/0.2672, allocations: 107.4 kB / 1.015 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003032/0.2703, allocations: 0.5618 MB / 1.016 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01142/0.2817, allocations: 2.87 MB / 1.019 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004429/0.2862, allocations: 0.949 MB / 1.02 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009281/0.2955, allocations: 5.956 MB / 1.025 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004442/0.3, allocations: 2.546 MB / 1.028 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00447/0.3045, allocations: 1.969 MB / 1.03 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005063/0.3096, allocations: 2.218 MB / 1.032 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.3107, allocations: 176 kB / 1.032 GB, free: 5.836 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.3132, allocations: 0.4994 MB / 1.033 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001348/0.3146, allocations: 0.9459 MB / 1.034 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001958/0.3165, allocations: 0.699 MB / 1.034 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006535/0.3231, allocations: 3.923 MB / 1.038 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.26e-05/0.3231, allocations: 11.94 kB / 1.038 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3231, allocations: 0 / 1.038 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002198/0.3234, allocations: 0 / 1.038 GB, free: 15.73 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.01086/0.3342, allocations: 4.064 MB / 1.042 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3343, allocations: 8.031 kB / 1.042 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/0.3508, allocations: 3.371 MB / 1.045 GB, free: 8.172 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005207/0.356, allocations: 2.084 MB / 1.047 GB, free: 6.02 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004373/0.3565, allocations: 470.3 kB / 1.048 GB, free: 5.496 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/0.3575, allocations: 239.9 kB / 1.048 GB, free: 5.262 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.3702, allocations: 4.845 MB / 1.053 GB, free: 280 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.424e-05/0.3703, allocations: 7.938 kB / 1.053 GB, free: 272 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003601/0.3707, allocations: 99.98 kB / 1.053 GB, free: 172 kB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002399/0.3709, allocations: 176.9 kB / 1.053 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01424/0.3852, allocations: 5.296 MB / 1.058 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4428/0.828, allocations: 14.6 MB / 1.072 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01792/0.8459, allocations: 3.675 MB / 1.076 GB, free: 78.31 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00714/0.8531, allocations: 1.592 MB / 1.078 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000179/0.8533, allocations: 22.47 kB / 1.078 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007523/0.8609, allocations: 1.915 MB / 1.079 GB, free: 77.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 6.042e-06/0.8609, allocations: 0 / 1.079 GB, free: 77.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.1671/1.028, allocations: 34.11 MB / 1.113 GB, free: 67.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001643/1.028, allocations: 0.4899 MB / 1.113 GB, free: 67.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/1.031, allocations: 2.279 MB / 1.116 GB, free: 65.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000559/1.032, allocations: 76.14 kB / 1.116 GB, free: 65.88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008556/1.033, allocations: 1.428 MB / 1.117 GB, free: 64.62 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006953/1.033, allocations: 0.8244 MB / 1.118 GB, free: 63.91 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/1.034, allocations: 46.75 kB / 1.118 GB, free: 63.88 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.034, allocations: 400.2 kB / 1.118 GB, free: 63.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004798/1.038, allocations: 2.109 MB / 1.12 GB, free: 61.71 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004897/1.043, allocations: 2.408 MB / 1.123 GB, free: 59.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009438/1.053, allocations: 4.529 MB / 1.127 GB, free: 54.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/1.053, allocations: 0 / 1.127 GB, free: 54.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01667/1.07, allocations: 6.897 MB / 1.134 GB, free: 47.56 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/1.07, allocations: 149.9 kB / 1.134 GB, free: 47.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/1.07, allocations: 4 kB / 1.134 GB, free: 47.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01005/1.08, allocations: 2.945 MB / 1.137 GB, free: 44.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/1.083, allocations: 0.5737 MB / 1.137 GB, free: 43.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03241/1.115, allocations: 17.32 MB / 1.154 GB, free: 26.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004369/1.12, allocations: 411.6 kB / 1.155 GB, free: 25.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003335/1.12, allocations: 87.97 kB / 1.155 GB, free: 25.86 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.001351/1.121, allocations: 0.7116 MB / 1.155 GB, free: 25.15 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004834/1.122, allocations: 332.1 kB / 1.156 GB, free: 24.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005784/1.122, allocations: 384.1 kB / 1.156 GB, free: 24.44 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/1.122, allocations: 11.95 kB / 1.156 GB, free: 24.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/1.122, allocations: 0 / 1.156 GB, free: 24.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/1.124, allocations: 0.6999 MB / 1.157 GB, free: 23.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004457/1.124, allocations: 44 kB / 1.157 GB, free: 23.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003065/1.127, allocations: 419 kB / 1.157 GB, free: 23.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001013/1.128, allocations: 425.2 kB / 1.158 GB, free: 22.84 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01713/1.145, allocations: 6.692 MB / 1.164 GB, free: 16.2 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0156/1.161, allocations: 7.048 MB / 1.171 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005098/1.166, allocations: 2.318 MB / 1.173 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002011/1.168, allocations: 1.513 MB / 1.175 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of Backend: time 4.71e-07/1.168, allocations: 0 / 1.175 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0189/1.187, allocations: 5.071 MB / 1.18 GB, free: 176 kB / 0.6823 GB Notification: Performance of SimCode: time 0.01276/1.2, allocations: 8.426 MB / 1.188 GB, free: 7.727 MB / 0.698 GB Notification: Performance of Templates: time 0.1207/1.321, allocations: 73.57 MB / 1.26 GB, free: 14.78 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)