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.466/1.466, allocations: 252 MB / 267.6 MB, free: 10.91 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.001045/0.001045, allocations: 182.9 kB / 327.3 MB, free: 2.191 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.914/1.914, allocations: 205.4 MB / 0.5783 GB, free: 20.51 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.0008849/0.0008848, allocations: 84.81 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003433, allocations: 12.94 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1843, allocations: 106.3 MB / 0.9008 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.004982/0.1893, allocations: 5.561 MB / 0.9063 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004709/0.1941, allocations: 4.249 MB / 0.9104 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005655/0.1947, allocations: 19.88 kB / 0.9104 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004994/0.1952, allocations: 138.9 kB / 0.9106 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.1969, allocations: 0.6216 MB / 0.9112 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006409/0.1976, allocations: 242.5 kB / 0.9114 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001208/0.1988, allocations: 1.199 MB / 0.9126 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007126/0.1995, allocations: 492.3 kB / 0.913 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006788/0.2002, allocations: 382.5 kB / 0.9134 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008076/0.201, allocations: 470.2 kB / 0.9138 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.2011, allocations: 32 kB / 0.9139 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005216/0.2017, allocations: 143.8 kB / 0.914 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.2019, allocations: 199.3 kB / 0.9142 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.2022, allocations: 165.3 kB / 0.9144 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000868/0.2031, allocations: 0.8145 MB / 0.9152 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2031, allocations: 0 / 0.9152 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2031, allocations: 0 / 0.9152 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.867e-05/0.2031, allocations: 0 / 0.9152 GB, free: 49.52 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.001677/0.2048, allocations: 0.9853 MB / 0.9161 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2049, allocations: 8.031 kB / 0.9161 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/0.2079, allocations: 0.6505 MB / 0.9168 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007508/0.2087, allocations: 0.522 MB / 0.9173 GB, free: 47.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.2087, allocations: 41.31 kB / 0.9173 GB, free: 47.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.35e-05/0.2088, allocations: 63.94 kB / 0.9174 GB, free: 47.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.2105, allocations: 1.018 MB / 0.9184 GB, free: 46.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.2106, allocations: 0 / 0.9184 GB, free: 46.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.671e-05/0.2106, allocations: 20 kB / 0.9184 GB, free: 46.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-05/0.2107, allocations: 45.3 kB / 0.9184 GB, free: 46.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.2128, allocations: 1.02 MB / 0.9194 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003332/0.2162, allocations: 3.51 MB / 0.9229 GB, free: 41.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.2175, allocations: 0.5143 MB / 0.9234 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004969/0.218, allocations: 244.7 kB / 0.9236 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.218, allocations: 11.98 kB / 0.9236 GB, free: 40.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.2181, allocations: 30.56 kB / 0.9236 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 1.743e-06/0.2181, allocations: 0 / 0.9236 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43): time 0.006278/0.2244, allocations: 2.225 MB / 0.9258 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.2244, allocations: 59.41 kB / 0.9259 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005139/0.2249, allocations: 0.5587 MB / 0.9264 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.225, allocations: 33.7 kB / 0.9264 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.2251, allocations: 360.1 kB / 0.9268 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.463e-05/0.2252, allocations: 141.8 kB / 0.9269 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.2252, allocations: 15.94 kB / 0.9269 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.34e-05/0.2253, allocations: 374.8 kB / 0.9273 GB, free: 36.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005936/0.2259, allocations: 272.9 kB / 0.9275 GB, free: 36.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006087/0.2265, allocations: 385.8 kB / 0.9279 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006299/0.2272, allocations: 317.3 kB / 0.9282 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2272, allocations: 0 / 0.9282 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002196/0.2294, allocations: 0.9707 MB / 0.9292 GB, free: 34.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.65e-05/0.2295, allocations: 180.6 kB / 0.9293 GB, free: 34.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2295, allocations: 7.984 kB / 0.9293 GB, free: 34.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.2306, allocations: 276.8 kB / 0.9296 GB, free: 34.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/0.2312, allocations: 127.8 kB / 0.9297 GB, free: 33.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005167/0.2364, allocations: 8.483 MB / 0.938 GB, free: 24.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000601/0.237, allocations: 56.02 kB / 0.9381 GB, free: 24.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.237, allocations: 15.98 kB / 0.9381 GB, free: 24.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.237, allocations: 4 kB / 0.9381 GB, free: 24.55 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002061/0.2391, allocations: 1.077 MB / 0.9391 GB, free: 23.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2391, allocations: 4.344 kB / 0.9391 GB, free: 23.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006948/0.2398, allocations: 221 kB / 0.9394 GB, free: 23.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000596/0.2404, allocations: 135.8 kB / 0.9395 GB, free: 23.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004051/0.2445, allocations: 8.156 MB / 0.9475 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/0.2451, allocations: 59.95 kB / 0.9475 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.2452, allocations: 16 kB / 0.9475 GB, free: 14 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 (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.0003621/0.2456, allocations: 309 kB / 0.9478 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.984e-05/0.2457, allocations: 71.16 kB / 0.9479 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.2458, allocations: 86.36 kB / 0.948 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2458, allocations: 4 kB / 0.948 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.2458, allocations: 3.938 kB / 0.948 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2458, allocations: 3.953 kB / 0.948 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005973/0.2464, allocations: 0.6456 MB / 0.9486 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2464, allocations: 0 / 0.9486 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.2469, allocations: 99.84 kB / 0.9487 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008784/0.2478, allocations: 260.8 kB / 0.949 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.2478, allocations: 12 kB / 0.949 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004521/0.2523, allocations: 8.416 MB / 0.9572 GB, free: 3.227 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2524, allocations: 0 / 0.9572 GB, free: 3.227 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.2543, allocations: 0.9639 MB / 0.9581 GB, free: 2.227 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.2546, allocations: 184.2 kB / 0.9583 GB, free: 2.027 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.639e-05/0.2546, allocations: 11.95 kB / 0.9583 GB, free: 2.016 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004796/0.2551, allocations: 51.95 kB / 0.9584 GB, free: 1.965 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.2553, allocations: 39.94 kB / 0.9584 GB, free: 1.926 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.2553, allocations: 8 kB / 0.9584 GB, free: 1.918 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003659/0.2557, allocations: 403.1 kB / 0.9588 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2557, allocations: 0 / 0.9588 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009753/0.2566, allocations: 300 kB / 0.9591 GB, free: 1.238 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (31): * Single equations (assignments): 25 * 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 Backend phase and start with SimCode phase: time 0.0001264/0.2568, allocations: 111.2 kB / 0.9592 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003397/0.2602, allocations: 2.416 MB / 0.9615 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2602, allocations: 0 / 0.9615 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.2615, allocations: 1.031 MB / 0.9626 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009851/0.2625, allocations: 210.5 kB / 0.9628 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.2653, allocations: 1.576 MB / 0.9643 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006657/0.266, allocations: 0.9821 MB / 0.9652 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.2662, allocations: 55.42 kB / 0.9653 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of SimCode: time 3.727e-06/0.2662, allocations: 0 / 0.9653 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of Templates: time 0.02788/0.2941, allocations: 26.95 MB / 0.9916 GB, free: 15.65 MB / 0.6511 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)