Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Lines.Examples.RCModel.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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.587/4.587, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 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.002411/0.00241, allocations: 354.7 kB / 0.644 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 3.915/3.915, allocations: 410.7 MB / 1.112 GB, free: 5.969 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.001772/0.001772, allocations: 179.6 kB / 1.225 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004884, allocations: 12 kB / 1.348 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5747/0.5752, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004271/0.5795, allocations: 3.805 MB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002519/0.5821, allocations: 1.734 MB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.5823, allocations: 18.62 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.5825, allocations: 63.48 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004958/0.583, allocations: 207.6 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.5836, allocations: 187.8 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005858/0.5842, allocations: 0.6891 MB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004042/0.5846, allocations: 380.6 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.5848, allocations: 195.2 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003872/0.5852, allocations: 248.6 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/0.5853, allocations: 20 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.5855, allocations: 128.4 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.5857, allocations: 124.2 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.5858, allocations: 97.52 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004314/0.5862, allocations: 462.3 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.765e-06/0.5862, allocations: 3.938 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5862, allocations: 0 / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.862e-06/0.5863, allocations: 0 / 1.469 GB, free: 276 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001022/0.5873, allocations: 0.655 MB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.5873, allocations: 17.88 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.5887, allocations: 164.1 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/0.5892, allocations: 325.3 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.5892, allocations: 25.62 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.999e-05/0.5893, allocations: 32.84 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008165/0.5901, allocations: 0.5272 MB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.5902, allocations: 0 / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.5902, allocations: 21 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/0.5903, allocations: 28.64 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006877/0.591, allocations: 393.1 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002424/0.5934, allocations: 2.405 MB / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005723/0.594, allocations: 274 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.5942, allocations: 109.7 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.5943, allocations: 0 / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.5943, allocations: 43.8 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 2.075e-06/0.5943, allocations: 0 / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.002331/0.5967, allocations: 1.126 MB / 1.475 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.5967, allocations: 59.34 kB / 1.475 GB, free: 269.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.597, allocations: 293.1 kB / 1.475 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.5971, allocations: 33.7 kB / 1.475 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.5972, allocations: 237 kB / 1.475 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/0.5973, allocations: 78.86 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/0.5973, allocations: 4 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.089e-05/0.5974, allocations: 343.5 kB / 1.476 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.5976, allocations: 101.3 kB / 1.476 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.5978, allocations: 188.5 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.5981, allocations: 136.1 kB / 1.476 GB, free: 268 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5981, allocations: 2.781 kB / 1.476 GB, free: 268 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008667/0.599, allocations: 431.9 kB / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.599, allocations: 9.016 kB / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.599, allocations: 4 kB / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004177/0.5995, allocations: 98.55 kB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.5998, allocations: 63.91 kB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002766/0.6026, allocations: 4.072 MB / 1.481 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.6029, allocations: 8 kB / 1.481 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.603, allocations: 19.88 kB / 1.481 GB, free: 262.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002237/0.6032, allocations: 185 kB / 1.481 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.477e-05/0.6033, allocations: 32.64 kB / 1.481 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.785e-05/0.6034, allocations: 43.95 kB / 1.481 GB, free: 262.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.212e-06/0.6034, allocations: 5.469 kB / 1.481 GB, free: 262.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.982e-06/0.6034, allocations: 0 / 1.481 GB, free: 262.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.455e-06/0.6034, allocations: 0 / 1.481 GB, free: 262.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.6039, allocations: 401.4 kB / 1.481 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-06/0.6039, allocations: 0.5938 kB / 1.481 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.6042, allocations: 36.69 kB / 1.481 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003793/0.6045, allocations: 96.8 kB / 1.482 GB, free: 262 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.6046, allocations: 5.469 kB / 1.482 GB, free: 262 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/0.6072, allocations: 4.072 MB / 1.486 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.577e-06/0.6073, allocations: 0 / 1.486 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009235/0.6082, allocations: 0.5527 MB / 1.486 GB, free: 257 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.6084, allocations: 132.3 kB / 1.486 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.6084, allocations: 6.219 kB / 1.486 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.6087, allocations: 12 kB / 1.486 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.6088, allocations: 15.97 kB / 1.486 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.6088, allocations: 9.938 kB / 1.486 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002206/0.609, allocations: 207.1 kB / 1.486 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.97e-07/0.609, allocations: 0 / 1.486 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000595/0.6096, allocations: 96 kB / 1.487 GB, free: 256.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001178/0.6098, allocations: 109 kB / 1.487 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008559/0.6106, allocations: 0.6044 MB / 1.487 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.555e-06/0.6107, allocations: 0.7812 kB / 1.487 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004969/0.6112, allocations: 470 kB / 1.488 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006035/0.6118, allocations: 74.95 kB / 1.488 GB, free: 255.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.613, allocations: 0.8522 MB / 1.489 GB, free: 254.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.6134, allocations: 0.8379 MB / 1.489 GB, free: 253.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002749/0.6137, allocations: 65.86 kB / 1.489 GB, free: 253.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.6138, allocations: 23.44 kB / 1.49 GB, free: 253.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.645e-06/0.6138, allocations: 0 / 1.49 GB, free: 253.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.009747/0.6235, allocations: 4.101 MB / 1.494 GB, free: 249.5 MB / 0.8542 GB