Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.987/4.987, allocations: 0.5623 GB / 0.5776 GB, free: 3.375 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002409/0.002409, allocations: 352.9 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.239/4.239, allocations: 410.7 MB / 1.113 GB, free: 5.918 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001809/0.001809, allocations: 187.1 kB / 1.226 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005366/0.0005369, allocations: 8 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7646/0.7652, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.007826/0.7731, allocations: 5.545 MB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00756/0.7807, allocations: 4.231 MB / 1.471 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006639/0.7814, allocations: 19.88 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005162/0.7819, allocations: 135.6 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002627/0.7846, allocations: 0.6145 MB / 1.472 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.7858, allocations: 251.2 kB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00197/0.7878, allocations: 1.194 MB / 1.473 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009238/0.7887, allocations: 491.7 kB / 1.474 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006774/0.7894, allocations: 366.5 kB / 1.474 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.7905, allocations: 467.7 kB / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.7906, allocations: 33.06 kB / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005952/0.7912, allocations: 147.7 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.7915, allocations: 203.3 kB / 1.475 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.7917, allocations: 170.3 kB / 1.475 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.7929, allocations: 0.8008 MB / 1.476 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7929, allocations: 4 kB / 1.476 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.204e-06/0.793, allocations: 2.094 kB / 1.476 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.793, allocations: 0 / 1.476 GB, free: 269.7 MB / 0.8542 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.002808/0.7958, allocations: 0.9742 MB / 1.477 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.7959, allocations: 16.81 kB / 1.477 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007764/0.8036, allocations: 0.6603 MB / 1.477 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.8052, allocations: 0.5232 MB / 1.478 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.407e-05/0.8053, allocations: 41.3 kB / 1.478 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.8055, allocations: 53.02 kB / 1.478 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003944/0.8094, allocations: 1.023 MB / 1.479 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.8095, allocations: 0.5312 kB / 1.479 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/0.8096, allocations: 25.08 kB / 1.479 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/0.8098, allocations: 49.28 kB / 1.479 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005573/0.8154, allocations: 1.013 MB / 1.48 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007873/0.8233, allocations: 3.503 MB / 1.483 GB, free: 261.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/0.8266, allocations: 0.5265 MB / 1.484 GB, free: 261 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.8279, allocations: 253.2 kB / 1.484 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.738e-05/0.828, allocations: 7.922 kB / 1.484 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.8281, allocations: 39.34 kB / 1.484 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=31): time 4.127e-06/0.8281, allocations: 0.5312 kB / 1.484 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43): time 0.01594/0.844, allocations: 2.216 MB / 1.486 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.8441, allocations: 60.38 kB / 1.486 GB, free: 258.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.8453, allocations: 0.5664 MB / 1.487 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.087e-05/0.8454, allocations: 40.14 kB / 1.487 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/0.8457, allocations: 352.2 kB / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.8459, allocations: 149.8 kB / 1.487 GB, free: 257.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/0.846, allocations: 12 kB / 1.487 GB, free: 257.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.8462, allocations: 366.8 kB / 1.488 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.8478, allocations: 275 kB / 1.488 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.8495, allocations: 388.5 kB / 1.488 GB, free: 256.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.8511, allocations: 307.6 kB / 1.489 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.8511, allocations: 4 kB / 1.489 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.005179/0.8563, allocations: 0.971 MB / 1.49 GB, free: 255 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.8565, allocations: 190.6 kB / 1.49 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.8565, allocations: 9.078 kB / 1.49 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/0.8588, allocations: 269.6 kB / 1.49 GB, free: 254.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.8602, allocations: 132 kB / 1.49 GB, free: 254.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/0.8721, allocations: 8.471 MB / 1.498 GB, free: 245.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.8733, allocations: 55.23 kB / 1.499 GB, free: 245.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/0.8734, allocations: 19.98 kB / 1.499 GB, free: 245 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.8734, allocations: 4.906 kB / 1.499 GB, free: 245 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004021/0.8774, allocations: 1.079 MB / 1.5 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.8775, allocations: 4 kB / 1.5 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.8789, allocations: 216 kB / 1.5 GB, free: 243.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.8801, allocations: 134.9 kB / 1.5 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008284/0.8884, allocations: 8.159 MB / 1.508 GB, free: 234.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.8899, allocations: 56.02 kB / 1.508 GB, free: 234.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.81e-05/0.89, allocations: 23.95 kB / 1.508 GB, free: 234.5 MB / 0.8542 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.0006759/0.8907, allocations: 316.9 kB / 1.508 GB, free: 234.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.8909, allocations: 67.16 kB / 1.508 GB, free: 234.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.8912, allocations: 78.38 kB / 1.508 GB, free: 234.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.8912, allocations: 0 / 1.508 GB, free: 234.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.8912, allocations: 7.938 kB / 1.508 GB, free: 234 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004486/0.8917, allocations: 190.2 kB / 1.509 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.8919, allocations: 11.95 kB / 1.509 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.8931, allocations: 47.95 kB / 1.509 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.8933, allocations: 43.92 kB / 1.509 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00629/0.8996, allocations: 0.9871 MB / 1.51 GB, free: 232.7 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005228/0.9049, allocations: 1.119 MB / 1.511 GB, free: 231.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001629/0.9066, allocations: 287.7 kB / 1.511 GB, free: 231.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008849/0.9075, allocations: 403 kB / 1.511 GB, free: 230.9 MB / 0.8542 GB Notification: Performance of Backend: time 7.01e-07/0.9075, allocations: 4 kB / 1.511 GB, free: 230.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007231/0.9148, allocations: 2.303 MB / 1.514 GB, free: 228.5 MB / 0.8542 GB Notification: Performance of SimCode: time 0.00477/0.9196, allocations: 2.091 MB / 1.516 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.04901/0.9687, allocations: 15.04 MB / 1.53 GB, free: 211.5 MB / 0.8542 GB