Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.645/4.645, allocations: 0.5623 GB / 0.5769 GB, free: 3.355 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.002347/0.002347, allocations: 355.8 kB / 0.644 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 3.876/3.876, allocations: 410.7 MB / 1.112 GB, free: 5.957 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.001757/0.001757, allocations: 184.3 kB / 1.225 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.0004858, allocations: 16 kB / 1.348 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5808/0.5813, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003847/0.5852, allocations: 3.344 MB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002296/0.5875, allocations: 1.61 MB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.5877, allocations: 6.344 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.5879, allocations: 59.55 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.5884, allocations: 172.1 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.5889, allocations: 156.3 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004726/0.5893, allocations: 0.536 MB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.5897, allocations: 280.7 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.5899, allocations: 152.9 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003277/0.5902, allocations: 199.3 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.5903, allocations: 16 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.5906, allocations: 116.2 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.84e-05/0.5907, allocations: 112.4 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.852e-05/0.5908, allocations: 81.58 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.5911, allocations: 377.6 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.902e-06/0.5912, allocations: 0 / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.91e-06/0.5912, allocations: 1.219 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.438e-06/0.5912, allocations: 0 / 1.468 GB, free: 277.1 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0008123/0.592, allocations: 0.5829 MB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.5921, allocations: 12.5 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.5933, allocations: 147.5 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.5937, allocations: 287.2 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.5937, allocations: 16.66 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.5938, allocations: 28 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000688/0.5945, allocations: 458.5 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.5945, allocations: 3.938 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.456e-05/0.5946, allocations: 17.34 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.311e-05/0.5947, allocations: 33.14 kB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005589/0.5952, allocations: 318.9 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.5973, allocations: 2.196 MB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.5977, allocations: 248.6 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.5979, allocations: 114.7 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.598, allocations: 4 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.598, allocations: 35.53 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 3.033e-06/0.598, allocations: 2.312 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0006294/0.5987, allocations: 309.2 kB / 1.472 GB, free: 272 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.5987, allocations: 51.41 kB / 1.472 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.599, allocations: 263.6 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.599, allocations: 29.7 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.722e-05/0.5991, allocations: 209 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.5992, allocations: 47.28 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.5992, allocations: 4 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.216e-05/0.5993, allocations: 339.3 kB / 1.473 GB, free: 271 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.5994, allocations: 54.94 kB / 1.473 GB, free: 271 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.5996, allocations: 145.1 kB / 1.473 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.5997, allocations: 71.8 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.409e-06/0.5997, allocations: 1.438 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000491/0.6002, allocations: 268.2 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.6003, allocations: 8 kB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.23e-06/0.6003, allocations: 3.953 kB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/0.6005, allocations: 30.28 kB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.6007, allocations: 56.47 kB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009256/0.6017, allocations: 1.309 MB / 1.475 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.6019, allocations: 31.58 kB / 1.475 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.6019, allocations: 12 kB / 1.475 GB, free: 268.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.0001747/0.6021, allocations: 162.3 kB / 1.475 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/0.6022, allocations: 25.77 kB / 1.475 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.6023, allocations: 33.8 kB / 1.475 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.6023, allocations: 4.844 kB / 1.475 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.945e-06/0.6023, allocations: 0 / 1.475 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.786e-06/0.6023, allocations: 5.047 kB / 1.475 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.6033, allocations: 0.7018 MB / 1.476 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.735e-06/0.6033, allocations: 5.938 kB / 1.476 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.6035, allocations: 27.92 kB / 1.476 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001173/0.6036, allocations: 24.84 kB / 1.476 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.6036, allocations: 4.469 kB / 1.476 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008534/0.6045, allocations: 1.316 MB / 1.477 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.6045, allocations: 5.188 kB / 1.477 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.6049, allocations: 317.9 kB / 1.478 GB, free: 266 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.605, allocations: 117.9 kB / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.6051, allocations: 11.98 kB / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.6053, allocations: 8.844 kB / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.6054, allocations: 16.5 kB / 1.478 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.6054, allocations: 8.938 kB / 1.478 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002003/0.6056, allocations: 186 kB / 1.478 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.78e-07/0.6056, allocations: 1.594 kB / 1.478 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005223/0.6062, allocations: 79.84 kB / 1.478 GB, free: 265.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0001012/0.6063, allocations: 103.8 kB / 1.478 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000506/0.6068, allocations: 272.9 kB / 1.479 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.402e-06/0.6068, allocations: 1.5 kB / 1.479 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.607, allocations: 179.7 kB / 1.479 GB, free: 265 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/0.6076, allocations: 57.5 kB / 1.479 GB, free: 265 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008752/0.6085, allocations: 0.641 MB / 1.479 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.6088, allocations: 0.7991 MB / 1.48 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001867/0.609, allocations: 44.25 kB / 1.48 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.6091, allocations: 23.62 kB / 1.48 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.502e-06/0.6091, allocations: 0.9062 kB / 1.48 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.006867/0.616, allocations: 2.492 MB / 1.483 GB, free: 261 MB / 0.8542 GB