Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.548/2.548, allocations: 285 MB / 292.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001442, allocations: 188.8 kB / 360.7 MB, free: 7.207 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.3 MB / 0.6192 GB, free: 12.11 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 91.97 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.121e-05/2.131e-05, allocations: 0 / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8658/0.8659, allocations: 115.2 MB / 0.9634 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2676/1.134, allocations: 137.2 MB / 1.097 GB, free: 3.262 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/1.134, allocations: 75.14 kB / 1.097 GB, free: 3.191 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.008991/1.143, allocations: 2.01 MB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.433e-06/1.143, allocations: 1.125 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.592e-06/1.143, allocations: 0 / 1.099 GB, free: 1.211 MB / 0.698 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.0005078/1.144, allocations: 379.8 kB / 1.1 GB, free: 0.793 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.144, allocations: 8.031 kB / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/1.144, allocations: 1.203 kB / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/1.144, allocations: 167 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/1.144, allocations: 4.594 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/1.144, allocations: 4.484 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.875e-05/1.144, allocations: 4 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.183e-05/1.144, allocations: 34.56 kB / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/1.144, allocations: 0 / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/1.144, allocations: 1.094 kB / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/1.144, allocations: 4 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/1.144, allocations: 142.9 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.408e-05/1.144, allocations: 31.05 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.769e-05/1.144, allocations: 13.36 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-06/1.144, allocations: 0.7188 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/1.145, allocations: 52.97 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.833e-06/1.145, allocations: 0.7188 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001932/1.145, allocations: 49.69 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/1.145, allocations: 62.58 kB / 1.1 GB, free: 116 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.433e-05/1.145, allocations: 90 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/1.145, allocations: 33.7 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/1.145, allocations: 80.7 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/1.145, allocations: 4.562 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/1.145, allocations: 0 / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.145, allocations: 324.1 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.322e-05/1.145, allocations: 4 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.834e-05/1.145, allocations: 29.03 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.538e-05/1.145, allocations: 6.031 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.145, allocations: 4.688 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001408/1.146, allocations: 70.34 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.146, allocations: 4.656 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/1.146, allocations: 3.938 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/1.146, allocations: 5.094 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.256e-05/1.146, allocations: 7.938 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/1.146, allocations: 7 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.326e-05/1.146, allocations: 0.75 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/1.146, allocations: 4 kB / 1.101 GB, free: 15.42 MB / 0.7136 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 () * 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 9.303e-05/1.146, allocations: 113.8 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/1.146, allocations: 5.141 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/1.146, allocations: 12.11 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/1.146, allocations: 0 / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.146, allocations: 3.969 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/1.146, allocations: 0 / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/1.146, allocations: 130.2 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.146, allocations: 0 / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.66e-05/1.146, allocations: 0 / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.146, allocations: 0.75 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/1.146, allocations: 7.953 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.146, allocations: 0.875 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.146, allocations: 0 / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/1.146, allocations: 89.42 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-05/1.147, allocations: 84.67 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/1.147, allocations: 0 / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.353e-05/1.147, allocations: 3.953 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/1.147, allocations: 4 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/1.147, allocations: 3.984 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.637e-05/1.147, allocations: 79.28 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.147, allocations: 2.344 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00038/1.147, allocations: 41.53 kB / 1.102 GB, free: 14.78 MB / 0.7136 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 () * 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.0004916/1.148, allocations: 159.9 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001158/1.148, allocations: 27.92 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.148, allocations: 3.938 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/1.148, allocations: 12 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/1.148, allocations: 0 / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/1.148, allocations: 66.34 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/1.149, allocations: 0.6807 MB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.883e-05/1.149, allocations: 8.125 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/1.149, allocations: 11.44 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of SimCode: time 8.32e-07/1.149, allocations: 0 / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of Templates: time 0.00482/1.154, allocations: 1.109 MB / 1.104 GB, free: 12.71 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)