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.837/4.837, allocations: 0.5623 GB / 0.5776 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.002516/0.002516, allocations: 365.7 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.451/4.451, allocations: 410.7 MB / 1.113 GB, free: 5.992 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.001865/0.001865, allocations: 195.4 kB / 1.226 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005224/0.0005225, allocations: 8 kB / 1.349 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7146/0.7151, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004946/0.7201, allocations: 3.341 MB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003247/0.7235, allocations: 1.614 MB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.7238, allocations: 8 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.7241, allocations: 55.56 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006924/0.7248, allocations: 179.8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006863/0.7255, allocations: 157.7 kB / 1.467 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007038/0.7262, allocations: 0.5257 MB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004514/0.7267, allocations: 289.8 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.7269, allocations: 149.5 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004292/0.7274, allocations: 199.2 kB / 1.468 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.7274, allocations: 16 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003915/0.7278, allocations: 123.7 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.728, allocations: 113 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.379e-05/0.7281, allocations: 81.52 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005371/0.7286, allocations: 373.1 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.7286, allocations: 0 / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7286, allocations: 0.6562 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.7287, allocations: 0.7188 kB / 1.468 GB, free: 277.2 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.001082/0.7298, allocations: 0.5834 MB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.7298, allocations: 11.62 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.7312, allocations: 149.3 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005121/0.7318, allocations: 279.6 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.7318, allocations: 22.2 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.085e-05/0.7319, allocations: 24 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009132/0.7328, allocations: 464.6 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.7329, allocations: 7.938 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-05/0.7329, allocations: 12 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.726e-05/0.733, allocations: 28.55 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000716/0.7338, allocations: 318.9 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/0.7365, allocations: 2.199 MB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.737, allocations: 245.7 kB / 1.473 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.7374, allocations: 114.7 kB / 1.473 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.7374, allocations: 1.406 kB / 1.473 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.7375, allocations: 38.62 kB / 1.473 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 3.236e-06/0.7375, allocations: 2.438 kB / 1.473 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0007732/0.7383, allocations: 310.9 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.7383, allocations: 55.41 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.7386, allocations: 259.3 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.7387, allocations: 29.7 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.7388, allocations: 209 kB / 1.474 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.7388, allocations: 51.28 kB / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/0.7389, allocations: 7.375 kB / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.739, allocations: 330.8 kB / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.7391, allocations: 56.44 kB / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.7393, allocations: 144.8 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.7395, allocations: 71.98 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.7395, allocations: 2.156 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000594/0.7401, allocations: 271.2 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.7402, allocations: 8 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.7402, allocations: 5.469 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002122/0.7404, allocations: 28.8 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.7408, allocations: 48.64 kB / 1.475 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.7419, allocations: 1.314 MB / 1.476 GB, free: 269 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.7422, allocations: 31.59 kB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.7423, allocations: 12 kB / 1.476 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.0002113/0.7425, allocations: 172 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.7425, allocations: 19.81 kB / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.7426, allocations: 29.78 kB / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.7426, allocations: 4 kB / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.7426, allocations: 0 / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.7427, allocations: 113.5 kB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.7428, allocations: 4 kB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.7431, allocations: 15.45 kB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.7431, allocations: 7.984 kB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005114/0.7436, allocations: 252.7 kB / 1.476 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004181/0.7441, allocations: 379.9 kB / 1.477 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001036/0.7442, allocations: 47.98 kB / 1.477 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002136/0.7444, allocations: 193.9 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of Backend: time 8.52e-07/0.7444, allocations: 0 / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.7456, allocations: 359.4 kB / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of SimCode: time 0.00139/0.747, allocations: 1.075 MB / 1.478 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.01064/0.7577, allocations: 3.616 MB / 1.482 GB, free: 262.8 MB / 0.8542 GB