Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.774/3.774, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002336/0.002336, allocations: 186.3 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.879/3.879, allocations: 205.4 MB / 0.5772 GB, free: 21.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001725/0.001725, allocations: 99.08 kB / 0.6817 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007178/0.000718, allocations: 11.38 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3499, allocations: 106.3 MB / 0.8995 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3312/0.6811, allocations: 131.6 MB / 1.028 GB, free: 14.24 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004491/0.6817, allocations: 75.95 kB / 1.028 GB, free: 14.17 MB / 0.6824 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01349/0.6952, allocations: 2.043 MB / 1.03 GB, free: 12.12 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.657e-06/0.6952, allocations: 0 / 1.03 GB, free: 12.12 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.6953, allocations: 8 kB / 1.03 GB, free: 12.11 MB / 0.6824 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.0006913/0.696, allocations: 381 kB / 1.03 GB, free: 11.68 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/0.696, allocations: 8.031 kB / 1.03 GB, free: 11.68 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.6961, allocations: 4.938 kB / 1.03 GB, free: 11.67 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.6963, allocations: 160.4 kB / 1.031 GB, free: 11.48 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.6964, allocations: 384 / 1.031 GB, free: 11.48 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.6964, allocations: 8.359 kB / 1.031 GB, free: 11.47 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.6966, allocations: 42.19 kB / 1.031 GB, free: 11.42 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.6966, allocations: 4.188 kB / 1.031 GB, free: 11.42 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.6966, allocations: 3.938 kB / 1.031 GB, free: 11.41 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.6967, allocations: 0 / 1.031 GB, free: 11.41 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.872e-05/0.6967, allocations: 8 kB / 1.031 GB, free: 11.41 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.697, allocations: 157.7 kB / 1.031 GB, free: 11.2 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.6972, allocations: 30.61 kB / 1.031 GB, free: 11.16 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.441e-05/0.6973, allocations: 8.859 kB / 1.031 GB, free: 11.15 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.6973, allocations: 4 kB / 1.031 GB, free: 11.15 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.6975, allocations: 60.83 kB / 1.031 GB, free: 11.08 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=4): time 2.765e-06/0.6976, allocations: 0 / 1.031 GB, free: 11.08 MB / 0.6824 GB Notification: Performance of matching and sorting (n=4): time 0.0003749/0.6979, allocations: 65.62 kB / 1.031 GB, free: 11.01 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.698, allocations: 55.39 kB / 1.031 GB, free: 10.94 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.6982, allocations: 101.8 kB / 1.031 GB, free: 10.83 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.6982, allocations: 25.83 kB / 1.031 GB, free: 10.8 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.6983, allocations: 84.14 kB / 1.031 GB, free: 10.71 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.6983, allocations: 11.91 kB / 1.031 GB, free: 10.7 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.6984, allocations: 0 / 1.031 GB, free: 10.7 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.6986, allocations: 314.8 kB / 1.032 GB, free: 10.39 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.242e-05/0.6986, allocations: 11.94 kB / 1.032 GB, free: 10.38 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.548e-05/0.6987, allocations: 31.42 kB / 1.032 GB, free: 10.33 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.609e-05/0.6988, allocations: 16 kB / 1.032 GB, free: 10.32 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6988, allocations: 3.938 kB / 1.032 GB, free: 10.31 MB / 0.6824 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000215/0.6991, allocations: 61.62 kB / 1.032 GB, free: 10.25 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.6991, allocations: 11.94 kB / 1.032 GB, free: 10.23 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6991, allocations: 0 / 1.032 GB, free: 10.23 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.6992, allocations: 0 / 1.032 GB, free: 10.23 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.6993, allocations: 15.92 kB / 1.032 GB, free: 10.22 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.6994, allocations: 96 / 1.032 GB, free: 10.22 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.6994, allocations: 12 kB / 1.032 GB, free: 10.21 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.6995, allocations: 240 / 1.032 GB, free: 10.21 MB / 0.6824 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.0001359/0.6996, allocations: 113.9 kB / 1.032 GB, free: 10.09 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.6997, allocations: 7.844 kB / 1.032 GB, free: 10.08 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.832e-05/0.6997, allocations: 11.48 kB / 1.032 GB, free: 10.06 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.6998, allocations: 4 kB / 1.032 GB, free: 10.06 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.6998, allocations: 0 / 1.032 GB, free: 10.06 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.6998, allocations: 3.938 kB / 1.032 GB, free: 10.05 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.7, allocations: 149.7 kB / 1.032 GB, free: 9.859 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.7001, allocations: 4 kB / 1.032 GB, free: 9.855 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.831e-05/0.7001, allocations: 3.984 kB / 1.032 GB, free: 9.852 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.7001, allocations: 7.938 kB / 1.032 GB, free: 9.844 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.7002, allocations: 0 / 1.032 GB, free: 9.844 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/0.7002, allocations: 7.922 kB / 1.032 GB, free: 9.836 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.7002, allocations: 0 / 1.032 GB, free: 9.836 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.7005, allocations: 81.11 kB / 1.032 GB, free: 9.738 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.7006, allocations: 81.11 kB / 1.032 GB, free: 9.641 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.7006, allocations: 7.938 kB / 1.032 GB, free: 9.633 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.497e-05/0.7007, allocations: 4 kB / 1.032 GB, free: 9.629 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.7007, allocations: 0 / 1.032 GB, free: 9.629 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.7007, allocations: 0 / 1.032 GB, free: 9.629 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 5.908e-05/0.7008, allocations: 83.27 kB / 1.032 GB, free: 9.547 MB / 0.6824 GB Notification: Performance of sort global known variables: time 5.91e-07/0.7008, allocations: 0 / 1.032 GB, free: 9.547 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0007229/0.7016, allocations: 39.94 kB / 1.032 GB, free: 9.508 MB / 0.6824 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006552/0.7023, allocations: 165.4 kB / 1.032 GB, free: 9.348 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.7025, allocations: 27.92 kB / 1.032 GB, free: 9.32 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.7025, allocations: 0 / 1.032 GB, free: 9.32 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 7.707e-05/0.7026, allocations: 19.92 kB / 1.033 GB, free: 9.301 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.7029, allocations: 10.12 kB / 1.033 GB, free: 9.293 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.7034, allocations: 121 kB / 1.033 GB, free: 9.148 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.7037, allocations: 0.6731 MB / 1.033 GB, free: 8.449 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 3.782e-05/0.7038, allocations: 3.984 kB / 1.033 GB, free: 8.445 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.7038, allocations: 11.44 kB / 1.033 GB, free: 8.434 MB / 0.6824 GB Notification: Performance of SimCode: time 1.783e-06/0.7039, allocations: 0 / 1.033 GB, free: 8.434 MB / 0.6824 GB Notification: Performance of Templates: time 0.006677/0.7106, allocations: 1.098 MB / 1.034 GB, free: 7.336 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)