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.955/4.955, allocations: 0.5623 GB / 0.5776 GB, free: 3.34 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.002598/0.002598, allocations: 356.8 kB / 0.6447 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 4.332/4.332, allocations: 410.7 MB / 1.113 GB, free: 6.07 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.001824/0.001823, allocations: 193.2 kB / 1.226 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005099/0.0005101, allocations: 12 kB / 1.349 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.739/0.7395, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004989/0.7446, allocations: 3.357 MB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003291/0.7479, allocations: 1.657 MB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002542/0.7482, allocations: 11.94 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.7485, allocations: 42.2 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006213/0.7491, allocations: 190.9 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007938/0.7499, allocations: 201.9 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006955/0.7506, allocations: 0.5569 MB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004338/0.7511, allocations: 330.8 kB / 1.468 GB, free: 278 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.7513, allocations: 155.9 kB / 1.468 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004238/0.7518, allocations: 221.9 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.406e-05/0.7518, allocations: 16 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.7521, allocations: 88.41 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.7523, allocations: 115.7 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.92e-05/0.7524, allocations: 86.11 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004594/0.7528, allocations: 358.6 kB / 1.469 GB, free: 277 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7529, allocations: 0 / 1.469 GB, free: 277 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7529, allocations: 0 / 1.469 GB, free: 277 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.7529, allocations: 0 / 1.469 GB, free: 277 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.001316/0.7542, allocations: 0.6155 MB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.7543, allocations: 11.62 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008288/0.7551, allocations: 96.77 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.7556, allocations: 288.3 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.7556, allocations: 21.31 kB / 1.47 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/0.7557, allocations: 28.56 kB / 1.47 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.7568, allocations: 498 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.7569, allocations: 1.656 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/0.7569, allocations: 12 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.237e-05/0.757, allocations: 42.59 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.7582, allocations: 386.2 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.7609, allocations: 2.049 MB / 1.472 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008156/0.7617, allocations: 223.9 kB / 1.473 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/0.7624, allocations: 168.5 kB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.7624, allocations: 11.53 kB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.7624, allocations: 30.56 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.856e-06/0.7625, allocations: 0 / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.001705/0.7642, allocations: 451.8 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.7642, allocations: 59.95 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.7646, allocations: 264.2 kB / 1.474 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.7646, allocations: 25.7 kB / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.7647, allocations: 215.6 kB / 1.474 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.7648, allocations: 64.25 kB / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/0.7648, allocations: 4 kB / 1.474 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.607e-05/0.7649, allocations: 330.8 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/0.7653, allocations: 107.2 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/0.7658, allocations: 213 kB / 1.475 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005025/0.7663, allocations: 131.3 kB / 1.475 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.7663, allocations: 0 / 1.475 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001213/0.7675, allocations: 376.4 kB / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.655e-05/0.7677, allocations: 197 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.7677, allocations: 4 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002805/0.768, allocations: 38.52 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004987/0.7685, allocations: 77.7 kB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.7698, allocations: 1.332 MB / 1.477 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/0.7703, allocations: 50.42 kB / 1.477 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.7703, allocations: 16 kB / 1.477 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.7704, allocations: 4 kB / 1.477 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009602/0.7713, allocations: 293.7 kB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.7714, allocations: 7.984 kB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.7714, allocations: 5.188 kB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/0.7719, allocations: 72.59 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.7719, allocations: 13.92 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/0.7723, allocations: 49.59 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.7723, allocations: 10.56 kB / 1.477 GB, free: 267.7 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.0002522/0.7726, allocations: 249 kB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.7727, allocations: 23.72 kB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.599e-05/0.7727, allocations: 34.17 kB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.7728, allocations: 0 / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.7728, allocations: 1.281 kB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.7729, allocations: 124.7 kB / 1.478 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.773, allocations: 0 / 1.478 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.7733, allocations: 22.08 kB / 1.478 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.049e-05/0.7734, allocations: 15.97 kB / 1.478 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001234/0.7746, allocations: 360.5 kB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001286/0.7759, allocations: 0.5239 MB / 1.478 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003881/0.7764, allocations: 102.1 kB / 1.479 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002164/0.7766, allocations: 182.5 kB / 1.479 GB, free: 266 MB / 0.8542 GB Notification: Performance of Backend: time 8.51e-07/0.7766, allocations: 1.188 kB / 1.479 GB, free: 266 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.7784, allocations: 0.5285 MB / 1.479 GB, free: 265.5 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001444/0.7799, allocations: 1.136 MB / 1.48 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.0121/0.792, allocations: 4.291 MB / 1.484 GB, free: 260.2 MB / 0.8542 GB