Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.631/4.631, allocations: 0.5623 GB / 0.5769 GB, free: 3.348 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.002359/0.002358, allocations: 358.3 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.892/3.892, allocations: 410.7 MB / 1.112 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.001808/0.001807, allocations: 191.1 kB / 1.225 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005025, allocations: 12 kB / 1.348 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5701/0.5706, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.003832/0.5745, allocations: 3.358 MB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002391/0.5769, allocations: 1.65 MB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.5771, allocations: 11.94 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.5773, allocations: 47.62 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004427/0.5777, allocations: 185.7 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.5783, allocations: 202 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004947/0.5788, allocations: 0.5608 MB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.5792, allocations: 328.1 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.5794, allocations: 159.4 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003282/0.5797, allocations: 216.9 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.5798, allocations: 16 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.58, allocations: 91.75 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.5801, allocations: 117.3 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.433e-05/0.5802, allocations: 85.52 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.5806, allocations: 361.2 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.063e-06/0.5806, allocations: 0 / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5806, allocations: 0.6875 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.512e-06/0.5806, allocations: 0 / 1.468 GB, free: 276.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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0009271/0.5815, allocations: 0.6139 MB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.5816, allocations: 11.62 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006713/0.5823, allocations: 99.41 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.5826, allocations: 281.5 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.5827, allocations: 20.66 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/0.5827, allocations: 28 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000871/0.5836, allocations: 498.6 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.5836, allocations: 1.031 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.232e-05/0.5837, allocations: 12 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.61e-05/0.5838, allocations: 40.62 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000857/0.5846, allocations: 391.3 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.5866, allocations: 2.045 MB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006288/0.5873, allocations: 225.5 kB / 1.472 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000451/0.5878, allocations: 175.6 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.5878, allocations: 4 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.5878, allocations: 31.12 kB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.884e-06/0.5878, allocations: 0 / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.001206/0.5891, allocations: 458.7 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.5891, allocations: 59.92 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.5894, allocations: 255.2 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.5894, allocations: 30.67 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.935e-05/0.5895, allocations: 211.6 kB / 1.473 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.5896, allocations: 64.78 kB / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.503e-05/0.5896, allocations: 4 kB / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.446e-05/0.5897, allocations: 334.8 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002975/0.59, allocations: 103.1 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.5903, allocations: 217.2 kB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.5907, allocations: 130.6 kB / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5907, allocations: 0 / 1.474 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008947/0.5916, allocations: 380.3 kB / 1.474 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.512e-05/0.5917, allocations: 197.7 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5917, allocations: 8 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.5919, allocations: 35.62 kB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.5923, allocations: 71.89 kB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.5934, allocations: 1.331 MB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003083/0.5937, allocations: 47.67 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.5937, allocations: 12 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.042e-06/0.5937, allocations: 4 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007001/0.5945, allocations: 306.6 kB / 1.476 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.471e-06/0.5945, allocations: 4 kB / 1.476 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.916e-06/0.5945, allocations: 4 kB / 1.476 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.5948, allocations: 73.2 kB / 1.476 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.256e-06/0.5949, allocations: 9.906 kB / 1.476 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.5951, allocations: 47.62 kB / 1.476 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.5952, allocations: 12.59 kB / 1.476 GB, free: 267.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001974/0.5954, allocations: 250.8 kB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.5954, allocations: 25.12 kB / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.719e-05/0.5955, allocations: 34.17 kB / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.533e-06/0.5955, allocations: 0.875 kB / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.389e-06/0.5955, allocations: 0 / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.393e-06/0.5956, allocations: 3.953 kB / 1.477 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.5968, allocations: 0.7686 MB / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.781e-06/0.5968, allocations: 0 / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.5971, allocations: 52.77 kB / 1.478 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001232/0.5972, allocations: 26.66 kB / 1.478 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.5973, allocations: 7.984 kB / 1.478 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008304/0.5981, allocations: 1.318 MB / 1.479 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5981, allocations: 0 / 1.479 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006904/0.5988, allocations: 383.8 kB / 1.479 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.5989, allocations: 126.3 kB / 1.479 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.599, allocations: 4 kB / 1.479 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.5992, allocations: 22.02 kB / 1.479 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.5993, allocations: 25.31 kB / 1.479 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.5994, allocations: 7.938 kB / 1.479 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001756/0.5995, allocations: 182 kB / 1.48 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.68e-07/0.5996, allocations: 0 / 1.48 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00073/0.6003, allocations: 148.7 kB / 1.48 GB, free: 264 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 (18): * Single equations (assignments): 17 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001096/0.6004, allocations: 103.8 kB / 1.48 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.6016, allocations: 0.5014 MB / 1.48 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6017, allocations: 0 / 1.48 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003876/0.6021, allocations: 228.9 kB / 1.481 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005994/0.6027, allocations: 78.22 kB / 1.481 GB, free: 263.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009525/0.6036, allocations: 0.6577 MB / 1.481 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.6039, allocations: 0.8105 MB / 1.482 GB, free: 261.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003011/0.6042, allocations: 67.28 kB / 1.482 GB, free: 261.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.956e-05/0.6043, allocations: 19.44 kB / 1.482 GB, free: 261.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.855e-06/0.6043, allocations: 0 / 1.482 GB, free: 261.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.008323/0.6127, allocations: 3.122 MB / 1.485 GB, free: 258.6 MB / 0.8542 GB