Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Lines.Examples.Resistance.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.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.875/4.875, allocations: 0.5623 GB / 0.5775 GB, free: 3.332 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.002508/0.002508, allocations: 350.1 kB / 0.6447 GB, free: 185.6 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.419/4.419, allocations: 410.7 MB / 1.113 GB, free: 5.879 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.002589/0.002589, allocations: 177.3 kB / 1.226 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.000486, allocations: 12 kB / 1.349 GB, free: 8.156 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7134/0.7139, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003863/0.7178, allocations: 2.656 MB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002275/0.7201, allocations: 1.236 MB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.7203, allocations: 7.938 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.7205, allocations: 31.72 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004163/0.7209, allocations: 116.8 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.7214, allocations: 96.84 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004208/0.7218, allocations: 356.7 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003086/0.7221, allocations: 207 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.7223, allocations: 95.62 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.7226, allocations: 127.6 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.7227, allocations: 8.562 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.7229, allocations: 87.75 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.129e-05/0.723, allocations: 70.38 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.7231, allocations: 65.58 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.7234, allocations: 245.5 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7235, allocations: 0 / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7235, allocations: 0 / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.7235, allocations: 0 / 1.467 GB, free: 278.9 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008017/0.7243, allocations: 489.1 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.7244, allocations: 15.62 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008248/0.7252, allocations: 86.31 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.7255, allocations: 246.6 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.7255, allocations: 12.38 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.7256, allocations: 20 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005767/0.7262, allocations: 297.7 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.7262, allocations: 0 / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.7262, allocations: 12 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.595e-05/0.7263, allocations: 20.31 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.7267, allocations: 193 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.7284, allocations: 1.459 MB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.7287, allocations: 181.9 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.801e-05/0.7288, allocations: 33.95 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.7288, allocations: 0 / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.7289, allocations: 39.53 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.7289, allocations: 0 / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0005769/0.7295, allocations: 229.7 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.952e-05/0.7295, allocations: 51.41 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.7297, allocations: 195.5 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.7298, allocations: 25.7 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.7299, allocations: 167.6 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.7299, allocations: 25.2 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-06/0.7299, allocations: 4 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.447e-05/0.73, allocations: 326.8 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.639e-05/0.7301, allocations: 32.48 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.7302, allocations: 102.9 kB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.7303, allocations: 54.08 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.7304, allocations: 0 / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004011/0.7308, allocations: 198.4 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.7308, allocations: 4 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.7308, allocations: 4 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000191/0.731, allocations: 26.44 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.7312, allocations: 35.92 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009786/0.7322, allocations: 1.312 MB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.7324, allocations: 16.5 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.7324, allocations: 8.906 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.7326, allocations: 143 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.7327, allocations: 19.77 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.7327, allocations: 22.64 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.7327, allocations: 3.938 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.7327, allocations: 4.062 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/0.7328, allocations: 97.5 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.7329, allocations: 0 / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.733, allocations: 5.969 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.7331, allocations: 4 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003152/0.7334, allocations: 190.7 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002886/0.7337, allocations: 306.9 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.209e-05/0.7338, allocations: 25.61 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001377/0.7339, allocations: 145.2 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of Backend: time 7.21e-07/0.7339, allocations: 0 / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008529/0.7348, allocations: 302.7 kB / 1.474 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0009587/0.7358, allocations: 0.8953 MB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.007514/0.7433, allocations: 2.365 MB / 1.477 GB, free: 268.1 MB / 0.8542 GB