Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.113/5.113, allocations: 0.5623 GB / 0.5776 GB, free: 3.398 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.002433/0.002433, allocations: 364.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.176/4.176, allocations: 410.7 MB / 1.113 GB, free: 6.02 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.001912/0.001912, allocations: 188.5 kB / 1.226 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000695/0.0006953, allocations: 16 kB / 1.349 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7352/0.7359, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001355/0.7373, allocations: 0.9363 MB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008145/0.7381, allocations: 353.6 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.7382, allocations: 0 / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.7382, allocations: 1.062 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.108e-05/0.7383, allocations: 7.938 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006855/0.739, allocations: 74.53 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.252e-05/0.7391, allocations: 11.92 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.424e-05/0.7392, allocations: 0 / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.7392, allocations: 8 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.948e-05/0.7393, allocations: 7.984 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.7393, allocations: 0 / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003224/0.7397, allocations: 83.84 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.7397, allocations: 3.984 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.034e-05/0.7398, allocations: 34.45 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.74, allocations: 59.91 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.74, allocations: 0.7812 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.034e-06/0.74, allocations: 0 / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.7401, allocations: 0.5938 kB / 1.463 GB, free: 282.8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006038/0.7407, allocations: 369.3 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.7408, allocations: 11.62 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.7408, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.741, allocations: 167 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.741, allocations: 0.5625 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.7411, allocations: 4 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.7412, allocations: 37.52 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.7413, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.7413, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.7413, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.798e-05/0.7414, allocations: 8 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.7416, allocations: 161.5 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.7418, allocations: 33.27 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.389e-05/0.7418, allocations: 13.73 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.7419, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.7421, allocations: 56.64 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 4.288e-06/0.7421, allocations: 0.5 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0003814/0.7425, allocations: 78.17 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.7426, allocations: 52.66 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.737e-05/0.7427, allocations: 97.86 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.7427, allocations: 26.45 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.7428, allocations: 80.14 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.7429, allocations: 16.58 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/0.7429, allocations: 4 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.978e-05/0.743, allocations: 313.2 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.173e-05/0.7431, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.7432, allocations: 35.42 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.344e-05/0.7433, allocations: 18.36 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.7433, allocations: 0.9688 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000246/0.7436, allocations: 70.47 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.7436, allocations: 8 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.7436, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.7437, allocations: 1.531 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.7438, allocations: 11.98 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.7439, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.881e-05/0.744, allocations: 4.688 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.744, allocations: 4 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001004/0.7441, allocations: 118.5 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.7441, allocations: 1.062 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.7442, allocations: 9.328 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.7442, allocations: 9.047 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7442, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.7443, allocations: 81.11 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.7443, allocations: 1 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.521e-05/0.7444, allocations: 0 / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.7444, allocations: 4.875 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002397/0.7447, allocations: 136.9 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002522/0.745, allocations: 237.3 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.117e-05/0.7451, allocations: 8 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.004e-05/0.7451, allocations: 79.28 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of Backend: time 1.483e-06/0.7451, allocations: 0.875 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.7465, allocations: 166.3 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0005141/0.7471, allocations: 0.5494 MB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.006167/0.7533, allocations: 0.9489 MB / 1.467 GB, free: 278.6 MB / 0.8542 GB