Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.653/4.653, allocations: 0.5623 GB / 0.5769 GB, free: 3.344 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.002355/0.002355, allocations: 349.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.896/3.896, 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.001776/0.001775, allocations: 179.8 kB / 1.225 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004853, allocations: 8 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.57/0.5705, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004076/0.5746, allocations: 3.576 MB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002185/0.5768, allocations: 1.489 MB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.5771, allocations: 11.94 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.5772, allocations: 61.17 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004383/0.5777, allocations: 180.1 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.5782, allocations: 168.9 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005264/0.5787, allocations: 0.6192 MB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004023/0.5792, allocations: 389.7 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.5794, allocations: 181.3 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003528/0.5797, allocations: 231.2 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.5798, allocations: 20 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.58, allocations: 76.45 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.5801, allocations: 127.7 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.497e-05/0.5802, allocations: 90.23 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.5806, allocations: 405 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.788e-06/0.5806, allocations: 1.438 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.61e-06/0.5806, allocations: 0 / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.94e-06/0.5807, allocations: 0 / 1.468 GB, free: 276.7 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001023/0.5817, allocations: 0.62 MB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.5817, allocations: 12.91 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008845/0.5826, allocations: 124.4 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.583, allocations: 286.4 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.257e-05/0.5831, allocations: 55.2 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/0.5832, allocations: 32.95 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008768/0.5841, allocations: 0.5034 MB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.5841, allocations: 2.562 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.5842, allocations: 19.98 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.074e-05/0.5842, allocations: 28.98 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008094/0.5851, allocations: 390.6 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.5875, allocations: 2.229 MB / 1.472 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007976/0.5883, allocations: 268.9 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004098/0.5887, allocations: 158.5 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.5888, allocations: 0.9688 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.5888, allocations: 39.59 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=19): time 3.022e-06/0.5888, allocations: 0 / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.001641/0.5905, allocations: 0.5798 MB / 1.473 GB, free: 271 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.5905, allocations: 59.34 kB / 1.473 GB, free: 271 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.5907, allocations: 228.9 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.5908, allocations: 29.7 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.5909, allocations: 211.7 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.922e-05/0.591, allocations: 63.72 kB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.65e-05/0.591, allocations: 8 kB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.184e-05/0.5911, allocations: 331.6 kB / 1.474 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.5913, allocations: 93.94 kB / 1.474 GB, free: 270 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.5916, allocations: 184.6 kB / 1.474 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.5919, allocations: 122 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.413e-06/0.5919, allocations: 0 / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009993/0.5929, allocations: 384.9 kB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.133e-05/0.593, allocations: 162.2 kB / 1.475 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.332e-06/0.593, allocations: 0.8125 kB / 1.475 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005692/0.5936, allocations: 110.1 kB / 1.475 GB, free: 269 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.5939, allocations: 60.75 kB / 1.475 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/0.597, allocations: 2.812 MB / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.5974, allocations: 37.28 kB / 1.478 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.5974, allocations: 12.53 kB / 1.478 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.869e-06/0.5974, allocations: 4 kB / 1.478 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009527/0.5984, allocations: 317.8 kB / 1.478 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5984, allocations: 4 kB / 1.478 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003867/0.5988, allocations: 77 kB / 1.478 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.5991, allocations: 60.5 kB / 1.479 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.6012, allocations: 1.502 MB / 1.48 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.6015, allocations: 35.8 kB / 1.48 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.381e-05/0.6016, allocations: 8 kB / 1.48 GB, free: 263.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002285/0.6018, allocations: 249 kB / 1.48 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.6019, allocations: 19.72 kB / 1.48 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.723e-05/0.602, allocations: 35.27 kB / 1.48 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.355e-06/0.602, allocations: 0 / 1.48 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.178e-06/0.602, allocations: 0.5 kB / 1.48 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.602, allocations: 7.953 kB / 1.48 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.6036, allocations: 0.8381 MB / 1.481 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.306e-06/0.6036, allocations: 4.656 kB / 1.481 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.6038, allocations: 33.27 kB / 1.481 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005164/0.6044, allocations: 106.7 kB / 1.481 GB, free: 262.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.6044, allocations: 0 / 1.481 GB, free: 262.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/0.6073, allocations: 2.811 MB / 1.484 GB, free: 259.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.968e-06/0.6073, allocations: 1.031 kB / 1.484 GB, free: 259.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009463/0.6083, allocations: 426.9 kB / 1.484 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.6084, allocations: 120.7 kB / 1.485 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.6085, allocations: 15.17 kB / 1.485 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.6087, allocations: 12 kB / 1.485 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/0.6088, allocations: 19.97 kB / 1.485 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.6088, allocations: 4 kB / 1.485 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001521/0.609, allocations: 160.5 kB / 1.485 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.87e-07/0.609, allocations: 1.562 kB / 1.485 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007691/0.6098, allocations: 171.4 kB / 1.485 GB, free: 258.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001043/0.6099, allocations: 103.9 kB / 1.485 GB, free: 258.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001942/0.6119, allocations: 0.7707 MB / 1.486 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.842e-06/0.6119, allocations: 0.75 kB / 1.486 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007919/0.6127, allocations: 380.4 kB / 1.486 GB, free: 257 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000544/0.6133, allocations: 63.92 kB / 1.486 GB, free: 257 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.6144, allocations: 0.6954 MB / 1.487 GB, free: 256.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.6147, allocations: 0.8174 MB / 1.488 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002687/0.615, allocations: 52.72 kB / 1.488 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/0.615, allocations: 24.36 kB / 1.488 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.594e-06/0.615, allocations: 0 / 1.488 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.009955/0.625, allocations: 4.135 MB / 1.492 GB, free: 251.4 MB / 0.8542 GB