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.594/4.594, 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.002399/0.002398, allocations: 361.1 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.907/3.907, allocations: 410.7 MB / 1.112 GB, free: 5.965 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.001738/0.001737, allocations: 184.4 kB / 1.225 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005139/0.0005142, allocations: 12 kB / 1.348 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5682/0.5688, 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.00305/0.5719, allocations: 2.658 MB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.5736, allocations: 1.228 MB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.5738, allocations: 7.938 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.5739, allocations: 35.7 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.5742, allocations: 120.7 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.5746, allocations: 98.36 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.5749, allocations: 350.9 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/0.5752, allocations: 207.6 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.5753, allocations: 95.62 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.5755, allocations: 131.5 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.5756, allocations: 12 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.5758, allocations: 84.52 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.952e-05/0.5759, allocations: 68.47 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.87e-05/0.5759, allocations: 65.58 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.5762, allocations: 250 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.542e-06/0.5762, allocations: 2.125 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.857e-06/0.5762, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.895e-06/0.5762, allocations: 0 / 1.466 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.0006325/0.5769, allocations: 484.2 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.5769, allocations: 15.62 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007282/0.5777, allocations: 93.2 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.5779, allocations: 238.6 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.578, allocations: 17.05 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.578, allocations: 16 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.5785, allocations: 298.1 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.5785, allocations: 0 / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.5786, allocations: 8 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.688e-05/0.5786, allocations: 21.19 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.579, allocations: 197 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.5803, allocations: 1.468 MB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.5806, allocations: 175.7 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.052e-05/0.5807, allocations: 34.16 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.067e-06/0.5807, allocations: 1.656 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.5807, allocations: 30.56 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.129e-06/0.5807, allocations: 0 / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004865/0.5812, allocations: 229 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.5813, allocations: 52.19 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.5815, allocations: 198.3 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.5815, allocations: 26.27 kB / 1.469 GB, free: 275 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.232e-05/0.5816, allocations: 168.9 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.5816, allocations: 23.66 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.5816, allocations: 8 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.595e-05/0.5817, allocations: 321.8 kB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.683e-05/0.5818, allocations: 39.97 kB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.974e-05/0.5819, allocations: 97.08 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.582, allocations: 58.42 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.582, allocations: 1.656 kB / 1.47 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003618/0.5824, allocations: 191.3 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.5824, allocations: 4 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.67e-06/0.5825, allocations: 4.75 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001634/0.5826, allocations: 30.11 kB / 1.47 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.5828, allocations: 31.88 kB / 1.47 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008652/0.5837, allocations: 1.313 MB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.5838, allocations: 15.84 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.5839, allocations: 9.688 kB / 1.472 GB, free: 272.6 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.0001217/0.584, allocations: 145.8 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.584, allocations: 24.64 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.5841, allocations: 21.39 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.641e-06/0.5841, allocations: 3.812 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.932e-06/0.5841, allocations: 4 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.231e-06/0.5841, allocations: 0 / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005089/0.5846, allocations: 448.2 kB / 1.472 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.783e-06/0.5847, allocations: 0 / 1.472 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.364e-05/0.5847, allocations: 12.47 kB / 1.472 GB, free: 271.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.345e-05/0.5848, allocations: 18.28 kB / 1.472 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.5849, allocations: 4 kB / 1.472 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007929/0.5857, allocations: 1.311 MB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.95e-06/0.5857, allocations: 0 / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.5859, allocations: 212.8 kB / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.128e-05/0.586, allocations: 89.02 kB / 1.474 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.586, allocations: 4 kB / 1.474 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.5862, allocations: 11.98 kB / 1.474 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.5862, allocations: 1.906 kB / 1.474 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.5862, allocations: 7.953 kB / 1.474 GB, free: 270 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001257/0.5864, allocations: 145.2 kB / 1.474 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.53e-07/0.5864, allocations: 3.938 kB / 1.474 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004048/0.5868, allocations: 51.84 kB / 1.474 GB, free: 269.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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 8.661e-05/0.5869, allocations: 96.72 kB / 1.474 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003517/0.5873, allocations: 219.3 kB / 1.474 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.047e-06/0.5873, allocations: 0 / 1.474 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.5874, allocations: 146.7 kB / 1.475 GB, free: 269.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.5879, allocations: 34.73 kB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005868/0.5885, allocations: 436.7 kB / 1.475 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.5887, allocations: 0.7529 MB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.5889, allocations: 30.17 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.5889, allocations: 11.44 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.42e-06/0.5889, allocations: 0.9688 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.005181/0.5941, allocations: 1.622 MB / 1.477 GB, free: 266.6 MB / 0.8542 GB