Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.688/1.688, allocations: 288.4 MB / 304.3 MB, free: 8.027 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.001146/0.001146, allocations: 181.8 kB / 372.9 MB, free: 10.16 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.737/1.737, allocations: 205.4 MB / 0.6316 GB, free: 9.84 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.0007596/0.0007597, allocations: 106.3 kB / 0.745 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004583, allocations: 11.81 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2038, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.00584/0.2097, allocations: 5.538 MB / 0.9861 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005482/0.2152, allocations: 4.261 MB / 0.9903 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007789/0.216, allocations: 19.94 kB / 0.9903 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006144/0.2166, allocations: 138.9 kB / 0.9905 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.2188, allocations: 0.6707 MB / 0.9911 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007035/0.2195, allocations: 246.4 kB / 0.9913 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001298/0.2208, allocations: 1.203 MB / 0.9925 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006531/0.2215, allocations: 0.5341 MB / 0.993 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004327/0.2219, allocations: 378.5 kB / 0.9934 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000539/0.2225, allocations: 466.2 kB / 0.9938 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.33e-05/0.2225, allocations: 32 kB / 0.9939 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.223, allocations: 295.4 kB / 0.9942 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.2231, allocations: 203.3 kB / 0.9944 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.2234, allocations: 379.8 kB / 0.9947 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005617/0.224, allocations: 0.8182 MB / 0.9955 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.224, allocations: 0 / 0.9955 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.224, allocations: 0 / 0.9955 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.224, allocations: 0 / 0.9955 GB, free: 12.14 MB / 0.6198 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.001389/0.2254, allocations: 0.97 MB / 0.9965 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.2255, allocations: 8.031 kB / 0.9965 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002845/0.2283, allocations: 0.6475 MB / 0.9971 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00066/0.229, allocations: 0.5462 MB / 0.9976 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.229, allocations: 41.67 kB / 0.9977 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.295e-05/0.2291, allocations: 52.12 kB / 0.9977 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.2307, allocations: 1.018 MB / 0.9987 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.2307, allocations: 7.938 kB / 0.9987 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.973e-05/0.2308, allocations: 23.98 kB / 0.9988 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.356e-05/0.2309, allocations: 49.28 kB / 0.9988 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/0.233, allocations: 1.012 MB / 0.9998 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003188/0.2362, allocations: 3.506 MB / 1.003 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.2376, allocations: 0.5218 MB / 1.004 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005088/0.2381, allocations: 244.6 kB / 1.004 GB, free: 3.043 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.2381, allocations: 11.98 kB / 1.004 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.2382, allocations: 38.56 kB / 1.004 GB, free: 2.984 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/0.2382, allocations: 3.938 kB / 1.004 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.006415/0.2446, allocations: 2.22 MB / 1.006 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.2446, allocations: 55.41 kB / 1.006 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000577/0.2452, allocations: 0.5626 MB / 1.007 GB, free: 76 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.2453, allocations: 33.7 kB / 1.007 GB, free: 36 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.2456, allocations: 356.2 kB / 1.007 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.2457, allocations: 149.8 kB / 1.007 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.2458, allocations: 8 kB / 1.007 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.2459, allocations: 370.8 kB / 1.008 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006804/0.2466, allocations: 276.9 kB / 1.008 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007232/0.2474, allocations: 389.7 kB / 1.008 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.2488, allocations: 0.6655 MB / 1.009 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2488, allocations: 4 kB / 1.009 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0024/0.2512, allocations: 0.974 MB / 1.01 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.2513, allocations: 176.5 kB / 1.01 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.2513, allocations: 7.984 kB / 1.01 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.2525, allocations: 276.9 kB / 1.01 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006789/0.2532, allocations: 131.8 kB / 1.01 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00899/0.2622, allocations: 8.476 MB / 1.019 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008026/0.263, allocations: 59.98 kB / 1.019 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/0.2631, allocations: 23.98 kB / 1.019 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.2631, allocations: 4 kB / 1.019 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002566/0.2657, allocations: 1.081 MB / 1.02 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.2657, allocations: 11.92 kB / 1.02 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007942/0.2665, allocations: 217.3 kB / 1.02 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/0.2671, allocations: 135.8 kB / 1.02 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006389/0.2735, allocations: 8.152 MB / 1.028 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007118/0.2743, allocations: 56.02 kB / 1.028 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.2743, allocations: 16 kB / 1.028 GB, free: 8.195 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004908/0.2748, allocations: 312.9 kB / 1.029 GB, free: 7.879 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.2749, allocations: 67.19 kB / 1.029 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.2751, allocations: 82.38 kB / 1.029 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2751, allocations: 0 / 1.029 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2751, allocations: 4.141 kB / 1.029 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.2754, allocations: 192.2 kB / 1.029 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.2754, allocations: 7.938 kB / 1.029 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004801/0.2759, allocations: 55.95 kB / 1.029 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.2761, allocations: 43.92 kB / 1.029 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002717/0.2788, allocations: 0.9969 MB / 1.03 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002234/0.281, allocations: 1.109 MB / 1.031 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006488/0.2817, allocations: 287.8 kB / 1.031 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005124/0.2822, allocations: 403.1 kB / 1.032 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of Backend: time 6.32e-07/0.2822, allocations: 0 / 1.032 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0041/0.2863, allocations: 2.367 MB / 1.034 GB, free: 2.066 MB / 0.6511 GB Notification: Performance of SimCode: time 0.002799/0.2891, allocations: 2.098 MB / 1.036 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of Templates: time 0.02532/0.3145, allocations: 15.23 MB / 1.051 GB, free: 0.8281 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)