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.001904/0.001905, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001613/0.001613, allocations: 195.8 kB / 16.26 MB, free: 6.625 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.414/1.414, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 472.6 MB / 0.7448 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001244, allocations: 70.03 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3531, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002562/0.3557, allocations: 1.266 MB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007788/0.3565, allocations: 385 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.3566, allocations: 0 / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.3566, allocations: 0 / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.828e-05/0.3567, allocations: 3.984 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005369/0.3572, allocations: 83.8 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.3e-05/0.3573, allocations: 12 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.3573, allocations: 0 / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.347e-05/0.3573, allocations: 15.92 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.119e-05/0.3574, allocations: 11.98 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.3574, allocations: 0 / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.3576, allocations: 91.84 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.3576, allocations: 3.984 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.3577, allocations: 7.938 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.3578, allocations: 83.83 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3579, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3579, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.3579, allocations: 0 / 1.07 GB, free: 8.812 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.0004526/0.3583, allocations: 373.3 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3584, allocations: 8.031 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.3584, allocations: 0.9375 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3585, allocations: 168.5 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.3586, allocations: 8.375 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.3586, allocations: 384 / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.3587, allocations: 50.11 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3587, allocations: 192 / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3587, allocations: 3.938 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3587, allocations: 4 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.508e-05/0.3588, allocations: 8 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.359, allocations: 153.7 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.3591, allocations: 26.61 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/0.3591, allocations: 16.86 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.715e-06/0.3591, allocations: 3.938 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.3593, allocations: 59.48 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.3593, allocations: 0 / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001902/0.3595, allocations: 69.61 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.3595, allocations: 55.39 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.683e-05/0.3596, allocations: 93.86 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.3596, allocations: 33.64 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.3597, allocations: 80.14 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.3597, allocations: 12.03 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.3597, allocations: 21.7 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3599, allocations: 318.8 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.3599, allocations: 4 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.615e-05/0.3599, allocations: 39.41 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.638e-05/0.36, allocations: 47.38 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.36, allocations: 4 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001033/0.3601, allocations: 69.52 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3601, allocations: 11.94 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3601, allocations: 0 / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.3602, allocations: 0 / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.3602, allocations: 8 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3602, allocations: 8.031 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.3603, allocations: 4 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3603, allocations: 0 / 1.071 GB, free: 6.828 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 7.225e-05/0.3603, allocations: 117.8 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.3604, allocations: 7.922 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.3604, allocations: 3.5 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3604, allocations: 4 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3604, allocations: 0 / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3604, allocations: 0 / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.3605, allocations: 161.6 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3606, allocations: 0 / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-05/0.3606, allocations: 0 / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3606, allocations: 3.938 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3606, allocations: 4 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3606, allocations: 3.938 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3606, allocations: 0 / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.3607, allocations: 88.95 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.3608, allocations: 81.11 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.3608, allocations: 3.938 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.34e-05/0.3608, allocations: 7.984 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.3608, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.3609, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.518e-05/0.3609, allocations: 83.28 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3609, allocations: 0 / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002386/0.3611, allocations: 27.98 kB / 1.072 GB, free: 6.141 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.0003522/0.3615, allocations: 162.2 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.3616, allocations: 27.92 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3616, allocations: 0 / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.3617, allocations: 12 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.3618, allocations: 4 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.3621, allocations: 116.6 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.3625, allocations: 0.6807 MB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.066e-05/0.3625, allocations: 0 / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.3625, allocations: 11.44 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3625, allocations: 0 / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of Templates: time 0.003381/0.3659, allocations: 0.9528 MB / 1.074 GB, free: 4.129 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)