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.945/4.945, allocations: 0.5623 GB / 0.5776 GB, free: 3.383 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.002505/0.002505, allocations: 356.1 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.491/4.491, allocations: 410.7 MB / 1.113 GB, free: 6.094 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.001842/0.001842, allocations: 186.6 kB / 1.226 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.00051/0.0005105, allocations: 8 kB / 1.349 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7763/0.7768, 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.005532/0.7824, allocations: 3.809 MB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00359/0.7861, allocations: 1.733 MB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003545/0.7865, allocations: 11.94 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.7868, allocations: 67.47 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007514/0.7875, allocations: 209.7 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008169/0.7884, allocations: 189.7 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008489/0.7892, allocations: 0.6774 MB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005149/0.7898, allocations: 391.5 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.7901, allocations: 203.2 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005223/0.7906, allocations: 245 kB / 1.469 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.396e-05/0.7907, allocations: 25.33 kB / 1.469 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004197/0.7911, allocations: 123.7 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.7913, allocations: 127.6 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.962e-05/0.7914, allocations: 97.52 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006067/0.792, allocations: 459.3 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.792, allocations: 0 / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.074e-06/0.792, allocations: 0 / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.792, 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.001431/0.7935, allocations: 0.6579 MB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.7935, allocations: 12.34 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.7951, allocations: 170 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.7957, allocations: 325.3 kB / 1.471 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.399e-05/0.7958, allocations: 25.7 kB / 1.471 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.201e-05/0.7959, allocations: 32 kB / 1.471 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.797, allocations: 0.5273 MB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.797, allocations: 0 / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.215e-05/0.7971, allocations: 16 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.117e-05/0.7972, allocations: 34.27 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008569/0.7981, allocations: 386.2 kB / 1.472 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003374/0.8014, allocations: 2.412 MB / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000765/0.8023, allocations: 266.1 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.8025, allocations: 112.8 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.8026, allocations: 0.8438 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.8026, allocations: 39.72 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 3.006e-06/0.8026, allocations: 0 / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.003083/0.8057, allocations: 1.126 MB / 1.475 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.8058, allocations: 56.16 kB / 1.475 GB, free: 269.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.8061, allocations: 301.5 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.8062, allocations: 25.7 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.8063, allocations: 236.4 kB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/0.8064, allocations: 82.84 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.8064, allocations: 10.12 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.8065, allocations: 338.8 kB / 1.476 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.8068, allocations: 96.59 kB / 1.477 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.8071, allocations: 188 kB / 1.477 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.8074, allocations: 132.2 kB / 1.477 GB, free: 268 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.8074, allocations: 5.406 kB / 1.477 GB, free: 268 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001128/0.8086, allocations: 438 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.8086, allocations: 8 kB / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.8086, allocations: 7.953 kB / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005459/0.8092, allocations: 94.09 kB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.8097, allocations: 67.91 kB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003292/0.813, allocations: 4.076 MB / 1.481 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/0.8135, allocations: 12.5 kB / 1.481 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.8135, allocations: 12 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.0002555/0.8138, allocations: 180.5 kB / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.214e-05/0.8139, allocations: 31.67 kB / 1.482 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.355e-05/0.814, allocations: 42.31 kB / 1.482 GB, free: 262.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.814, allocations: 5.328 kB / 1.482 GB, free: 262.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.814, allocations: 0 / 1.482 GB, free: 262.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.8141, allocations: 124.7 kB / 1.482 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-05/0.8142, allocations: 8 kB / 1.482 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.8145, allocations: 15.59 kB / 1.482 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.8146, allocations: 15.97 kB / 1.482 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001331/0.816, allocations: 436.6 kB / 1.482 GB, free: 262 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007854/0.8168, allocations: 0.5211 MB / 1.483 GB, free: 261.5 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002059/0.817, allocations: 98.84 kB / 1.483 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002623/0.8173, allocations: 207.1 kB / 1.483 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of Backend: time 8.11e-07/0.8173, allocations: 0 / 1.483 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001559/0.8188, allocations: 0.6606 MB / 1.484 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001934/0.8208, allocations: 1.379 MB / 1.485 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.0144/0.8352, allocations: 5.234 MB / 1.49 GB, free: 254.1 MB / 0.8542 GB