Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.079/5.079, allocations: 0.5623 GB / 0.5775 GB, free: 3.324 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.002534/0.002534, allocations: 359 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.611/4.611, allocations: 410.7 MB / 1.113 GB, free: 5.996 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.001837/0.001837, allocations: 185.1 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006515/0.0006518, allocations: 12.22 kB / 1.349 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8685/0.8692, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0007322/0.87, allocations: 272.4 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 3.413e-05/0.87, allocations: 1.031 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.8701, allocations: 0 / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.8701, allocations: 4.75 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.584e-05/0.8701, allocations: 0 / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 2.623e-05/0.8702, allocations: 4 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.46e-05/0.8702, allocations: 0.9375 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.862e-05/0.8703, allocations: 10.78 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.4e-05/0.8703, allocations: 1.062 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 1.99e-05/0.8704, allocations: 0 / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.8704, allocations: 0 / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.328e-06/0.8704, allocations: 0.8125 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.528e-06/0.8704, allocations: 0 / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.843e-05/0.8704, allocations: 26.64 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 4.049e-05/0.8705, allocations: 7.984 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8705, allocations: 0 / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8705, allocations: 0.75 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.8705, allocations: 0 / 1.462 GB, free: 284 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000223/0.8708, allocations: 304.9 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.8708, allocations: 11.62 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.8708, allocations: 8 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.667e-05/0.8709, allocations: 172.5 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.871, allocations: 0 / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.871, allocations: 0 / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.969e-05/0.8711, allocations: 31.56 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.8711, allocations: 7.938 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.8711, allocations: 1.875 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.8711, allocations: 0 / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.538e-05/0.8711, allocations: 0 / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000238/0.8714, allocations: 388.5 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.916e-05/0.8714, allocations: 165.7 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.046e-05/0.8715, allocations: 82.3 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.8715, allocations: 76.59 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.8715, allocations: 114.4 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.8716, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 6.541e-05/0.8716, allocations: 32.64 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/0.8717, allocations: 55.34 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.194e-05/0.8717, allocations: 101.8 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.203e-06/0.8717, allocations: 25.7 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.009e-05/0.8718, allocations: 80.14 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.8718, allocations: 1.156 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-07/0.8718, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.629e-05/0.8719, allocations: 314.8 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.426e-06/0.8719, allocations: 1.062 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-06/0.8719, allocations: 4 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.563e-05/0.8719, allocations: 76.44 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.8719, allocations: 75.28 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.311e-05/0.872, allocations: 26.2 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.872, allocations: 88.66 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.8721, allocations: 79.27 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.883e-05/0.8721, allocations: 151.1 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.598e-05/0.8721, allocations: 79.97 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.413e-05/0.8722, allocations: 155.1 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.797e-05/0.8723, allocations: 93.86 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.8723, allocations: 79.31 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.112e-05/0.8724, allocations: 256.4 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.8724, allocations: 110.7 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.8725, allocations: 110.1 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.452e-05/0.8725, allocations: 180.3 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/0.8725, allocations: 108.9 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.8726, allocations: 178.7 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.8727, allocations: 191.2 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.558e-05/0.8727, allocations: 104.9 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.8728, allocations: 181 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.181e-05/0.8728, allocations: 257.1 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001027/0.873, allocations: 380.7 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.29e-05/0.873, allocations: 106 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.247e-05/0.873, allocations: 83.28 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of Backend: time 7.71e-07/0.8731, allocations: 1.188 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003396/0.8734, allocations: 75.09 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003521/0.8738, allocations: 0.97 MB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.002257/0.876, allocations: 188 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB