Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002226/0.002226, allocations: 193.6 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.982/2.982, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 65.16 kB / 0.9113 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3391, allocations: 159.9 MB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002557/0.3417, allocations: 1.276 MB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008185/0.3425, allocations: 397 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.3426, allocations: 0 / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.3426, allocations: 3.938 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.691e-05/0.3427, allocations: 0 / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.3431, allocations: 75.86 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.604e-05/0.3432, allocations: 15.92 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.3432, allocations: 0 / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.258e-05/0.3433, allocations: 11.94 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.014e-05/0.3433, allocations: 11.97 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.3433, allocations: 0 / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.3435, allocations: 91.84 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.3435, allocations: 0 / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.3436, allocations: 11.94 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.3437, allocations: 79.89 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3438, allocations: 0 / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.377e-06/0.3438, allocations: 4 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.3438, allocations: 3.938 kB / 1.069 GB, free: 8.949 MB / 0.8262 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.0004804/0.3443, allocations: 369.3 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.3443, allocations: 12.03 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.3444, allocations: 0.9375 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.3445, allocations: 172.5 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.3445, allocations: 4.375 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.3445, allocations: 4.312 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.3446, allocations: 50.17 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3447, allocations: 4.188 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3447, allocations: 3.938 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3447, allocations: 0 / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.059e-05/0.3447, allocations: 4 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.3449, allocations: 153.7 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.79e-05/0.345, allocations: 26.58 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.345, allocations: 12.86 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.345, allocations: 4.094 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.3452, allocations: 59.33 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3452, allocations: 0 / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002172/0.3454, allocations: 69.61 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.3455, allocations: 51.41 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.287e-05/0.3456, allocations: 101.9 kB / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.3456, allocations: 25.7 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.3456, allocations: 80.14 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.3457, allocations: 11.89 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.3457, allocations: 21.72 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.3458, allocations: 310.8 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.726e-05/0.3459, allocations: 11.98 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.858e-05/0.3459, allocations: 35.5 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.286e-05/0.346, allocations: 51.3 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.346, allocations: 0 / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001039/0.3461, allocations: 69.53 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3461, allocations: 7.938 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.3461, allocations: 8.094 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3462, allocations: 0 / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.3462, allocations: 8 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3462, allocations: 3.984 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.344e-05/0.3463, allocations: 0 / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.3463, allocations: 4 kB / 1.071 GB, free: 6.977 MB / 0.8262 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 (y,$PRE.y,curSeed,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.476e-05/0.3464, allocations: 119.5 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.3464, allocations: 3.938 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.3464, allocations: 3.5 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3464, allocations: 4 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3464, allocations: 4.234 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3464, allocations: 0 / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.3466, allocations: 157.6 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3466, allocations: 7.984 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.249e-05/0.3466, allocations: 0 / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3466, allocations: 3.938 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3466, allocations: 7.922 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3467, allocations: 4 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3467, allocations: 0 / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.3468, allocations: 88.97 kB / 1.071 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.3469, allocations: 81.09 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.3469, allocations: 3.938 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.249e-05/0.3469, allocations: 4 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.3469, allocations: 4 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.3469, allocations: 0 / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.356e-05/0.347, allocations: 79.28 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.347, allocations: 4.094 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002543/0.3472, allocations: 31.98 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003524/0.3476, allocations: 155.6 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.3477, allocations: 27.92 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3477, allocations: 0 / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.69e-05/0.3478, allocations: 16.19 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.3479, allocations: 4.547 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.3482, allocations: 98.75 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.3484, allocations: 0.6731 MB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.647e-05/0.3485, allocations: 7.984 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.3485, allocations: 7.438 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of SimCode: time 7.11e-07/0.3485, allocations: 3.938 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of Templates: time 0.003393/0.3519, allocations: 0.9521 MB / 1.074 GB, free: 4.289 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)