Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.374/1.374, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009301/0.0009301, allocations: 172.4 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205 MB / 0.5766 GB, free: 21 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.0007506/0.0007507, allocations: 77.25 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002912, allocations: 8.719 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1847, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.005584/0.1904, allocations: 5.922 MB / 0.9025 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005195/0.1956, allocations: 4.558 MB / 0.907 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005586/0.1962, allocations: 23.88 kB / 0.907 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.198, allocations: 0.8547 MB / 0.9078 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.1996, allocations: 0.7103 MB / 0.9085 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005905/0.2002, allocations: 287.6 kB / 0.9088 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001074/0.2013, allocations: 1.461 MB / 0.9102 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004837/0.2018, allocations: 461.6 kB / 0.9107 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003552/0.2021, allocations: 406.3 kB / 0.9111 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004434/0.2026, allocations: 474 kB / 0.9115 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.516e-05/0.2027, allocations: 32 kB / 0.9115 GB, free: 53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.2031, allocations: 303.4 kB / 0.9118 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.2032, allocations: 211.2 kB / 0.912 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.2035, allocations: 369.9 kB / 0.9124 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006407/0.2041, allocations: 1.035 MB / 0.9134 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2041, allocations: 0 / 0.9134 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2041, allocations: 0 / 0.9134 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.2041, allocations: 0 / 0.9134 GB, free: 51.09 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001294/0.2054, allocations: 0.9698 MB / 0.9143 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2055, allocations: 12.03 kB / 0.9144 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002748/0.2082, allocations: 0.6475 MB / 0.915 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006537/0.2089, allocations: 0.5424 MB / 0.9155 GB, free: 48.83 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.2089, allocations: 37.69 kB / 0.9155 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.866e-05/0.209, allocations: 56.12 kB / 0.9156 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.2106, allocations: 1.022 MB / 0.9166 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.2106, allocations: 0 / 0.9166 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-05/0.2107, allocations: 31.98 kB / 0.9166 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-05/0.2107, allocations: 49.28 kB / 0.9167 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.2127, allocations: 1.016 MB / 0.9177 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003014/0.2157, allocations: 3.517 MB / 0.9211 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.217, allocations: 0.5171 MB / 0.9216 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.2174, allocations: 245.2 kB / 0.9218 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.2175, allocations: 8 kB / 0.9219 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.2175, allocations: 38.48 kB / 0.9219 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 1.974e-06/0.2175, allocations: 4 kB / 0.9219 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43): time 0.005801/0.2233, allocations: 2.224 MB / 0.9241 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.2234, allocations: 59.41 kB / 0.9241 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/0.2238, allocations: 0.5704 MB / 0.9247 GB, free: 39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.2239, allocations: 29.7 kB / 0.9247 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.224, allocations: 360.2 kB / 0.9251 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.014e-05/0.2241, allocations: 145.8 kB / 0.9252 GB, free: 38.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.089e-05/0.2242, allocations: 41.7 kB / 0.9252 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.2243, allocations: 374.8 kB / 0.9256 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000572/0.2249, allocations: 280.9 kB / 0.9259 GB, free: 37.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/0.2255, allocations: 377.8 kB / 0.9262 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.2267, allocations: 0.6772 MB / 0.9269 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2267, allocations: 0 / 0.9269 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002043/0.2288, allocations: 0.9856 MB / 0.9278 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/0.2288, allocations: 176.5 kB / 0.928 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2288, allocations: 7.938 kB / 0.928 GB, free: 35.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.2299, allocations: 276.8 kB / 0.9283 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005537/0.2304, allocations: 123.8 kB / 0.9284 GB, free: 34.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004958/0.2354, allocations: 8.485 MB / 0.9367 GB, free: 25.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005778/0.236, allocations: 51.95 kB / 0.9367 GB, free: 25.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.236, allocations: 20 kB / 0.9368 GB, free: 25.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.134e-06/0.2361, allocations: 8.047 kB / 0.9368 GB, free: 25.64 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002052/0.2381, allocations: 1.085 MB / 0.9378 GB, free: 24.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.2381, allocations: 4 kB / 0.9378 GB, free: 24.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006777/0.2388, allocations: 221.2 kB / 0.938 GB, free: 24.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005437/0.2394, allocations: 135.8 kB / 0.9382 GB, free: 24.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004029/0.2434, allocations: 8.172 MB / 0.9461 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005514/0.244, allocations: 51.95 kB / 0.9462 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.244, allocations: 23.98 kB / 0.9462 GB, free: 15.06 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000331/0.2444, allocations: 317.8 kB / 0.9465 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.389e-05/0.2445, allocations: 71.09 kB / 0.9466 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.2446, allocations: 82.38 kB / 0.9467 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.2446, allocations: 3.984 kB / 0.9467 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2446, allocations: 0 / 0.9467 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.2448, allocations: 180.3 kB / 0.9468 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.98e-05/0.2449, allocations: 4 kB / 0.9468 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004515/0.2453, allocations: 55.95 kB / 0.9469 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.2454, allocations: 39.92 kB / 0.9469 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00226/0.2477, allocations: 0.9971 MB / 0.9479 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001787/0.2495, allocations: 1.12 MB / 0.949 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005473/0.25, allocations: 292.4 kB / 0.9493 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003476/0.2504, allocations: 407.1 kB / 0.9497 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of Backend: time 8.82e-07/0.2504, allocations: 0 / 0.9497 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003153/0.2536, allocations: 2.374 MB / 0.952 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002013/0.2556, allocations: 2.135 MB / 0.9541 GB, free: 6.734 MB / 0.6042 GB Notification: Performance of Templates: time 0.02179/0.2774, allocations: 15.43 MB / 0.9691 GB, free: 7.43 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)