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.0008094/0.0008095, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006886/0.006886, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.483/1.483, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.04/3.04, allocations: 473.4 MB / 0.7469 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003878, allocations: 8.969 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3667, allocations: 162.2 MB / 1.074 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001319/0.368, allocations: 0.9354 MB / 1.075 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008317/0.3689, allocations: 385.1 kB / 1.075 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.3689, allocations: 4 kB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.3689, allocations: 0 / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.823e-05/0.369, allocations: 3.938 kB / 1.075 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.3695, allocations: 71.84 kB / 1.075 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.881e-05/0.3696, allocations: 15.94 kB / 1.075 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.274e-05/0.3697, allocations: 0 / 1.075 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.027e-05/0.3697, allocations: 7.984 kB / 1.076 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.21e-05/0.3697, allocations: 11.94 kB / 1.076 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.3698, allocations: 0 / 1.076 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.37, allocations: 87.91 kB / 1.076 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.37, allocations: 11.97 kB / 1.076 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.3701, allocations: 33.64 kB / 1.076 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.3703, allocations: 79.83 kB / 1.076 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3703, allocations: 0 / 1.076 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3703, allocations: 0 / 1.076 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.3703, allocations: 4 kB / 1.076 GB, free: 5.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.0004587/0.3708, allocations: 361.2 kB / 1.076 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.3708, allocations: 12.03 kB / 1.076 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.3709, allocations: 4.938 kB / 1.076 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.371, allocations: 168.6 kB / 1.076 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.371, allocations: 4.375 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.3711, allocations: 384 / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.3712, allocations: 38.25 kB / 1.076 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3712, allocations: 4.188 kB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3712, allocations: 3.938 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3712, allocations: 3.938 kB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.39e-05/0.3713, allocations: 11.92 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.3714, allocations: 161.6 kB / 1.076 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.057e-05/0.3715, allocations: 26.58 kB / 1.076 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.3716, allocations: 16.94 kB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/0.3716, allocations: 0 / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.3718, allocations: 55.34 kB / 1.077 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3718, allocations: 4 kB / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002179/0.372, allocations: 69.61 kB / 1.077 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.372, allocations: 51.41 kB / 1.077 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.354e-05/0.3721, allocations: 97.86 kB / 1.077 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3722, allocations: 29.69 kB / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.3722, allocations: 84.12 kB / 1.077 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.3722, allocations: 7.906 kB / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.3723, allocations: 13.72 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3724, allocations: 319 kB / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.3724, allocations: 7.984 kB / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.39e-05/0.3725, allocations: 35.38 kB / 1.077 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.774e-05/0.3725, allocations: 43.42 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.3726, allocations: 8 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000106/0.3727, allocations: 77.58 kB / 1.077 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3727, allocations: 12.88 kB / 1.077 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3727, allocations: 0 / 1.077 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3727, allocations: 0 / 1.077 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.355e-05/0.3728, allocations: 8 kB / 1.077 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3728, allocations: 3.984 kB / 1.077 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.618e-05/0.3728, allocations: 4 kB / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.3729, allocations: 0 / 1.077 GB, free: 3.98 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.828e-05/0.373, allocations: 121.9 kB / 1.078 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.373, allocations: 3.938 kB / 1.078 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.373, allocations: 3.5 kB / 1.078 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.373, allocations: 4 kB / 1.078 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.373, allocations: 0 / 1.078 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.373, allocations: 0 / 1.078 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.3732, allocations: 157.6 kB / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3732, allocations: 0 / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.3732, allocations: 0 / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3732, allocations: 7.938 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.3732, allocations: 7.984 kB / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3732, allocations: 0 / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3732, allocations: 0 / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.3734, allocations: 77.12 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.3734, allocations: 88.94 kB / 1.078 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.3734, allocations: 7.938 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.269e-05/0.3735, allocations: 0 / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.3735, allocations: 7.938 kB / 1.078 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.3735, allocations: 0 / 1.078 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.515e-05/0.3735, allocations: 79.28 kB / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3735, allocations: 0 / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002617/0.3738, allocations: 31.98 kB / 1.078 GB, free: 3.293 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.0003926/0.3742, allocations: 170.5 kB / 1.078 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.3743, allocations: 27.92 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3743, allocations: 0 / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.168e-05/0.3744, allocations: 8 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.3745, allocations: 8 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.3748, allocations: 98.73 kB / 1.078 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.375, allocations: 0.6731 MB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.375, allocations: 12.17 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.375, allocations: 7.438 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3751, allocations: 0 / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of Templates: time 0.003276/0.3783, allocations: 0.9332 MB / 1.08 GB, free: 1.309 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)