Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 292.6 MB / 307.5 MB, free: 5.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 181 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.4 MB / 0.6367 GB, free: 8.613 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008314/0.0008314, allocations: 79.56 kB / 0.751 GB, free: 63.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003134, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2367, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6018/0.8385, allocations: 139.1 MB / 1.124 GB, free: 35.62 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.8388, allocations: 72.94 kB / 1.124 GB, free: 35.56 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.004941/0.8437, allocations: 2.024 MB / 1.126 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8437, allocations: 1.188 kB / 1.126 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.8438, allocations: 4 kB / 1.126 GB, free: 34.08 MB / 0.7292 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.0002934/0.8441, allocations: 379.9 kB / 1.127 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.8441, allocations: 8.031 kB / 1.127 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.8441, allocations: 6.688 kB / 1.127 GB, free: 33.65 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.333e-05/0.8442, allocations: 162.7 kB / 1.127 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.8443, allocations: 0 / 1.127 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.8443, allocations: 8.094 kB / 1.127 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.187e-05/0.8444, allocations: 38.41 kB / 1.127 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.8444, allocations: 6.359 kB / 1.127 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.8444, allocations: 0 / 1.127 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.8444, allocations: 0 / 1.127 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.755e-05/0.8445, allocations: 7.422 kB / 1.127 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001107/0.8446, allocations: 160.9 kB / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.506e-05/0.8446, allocations: 29.39 kB / 1.127 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.8447, allocations: 3.422 kB / 1.127 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.8448, allocations: 58.28 kB / 1.127 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.8448, allocations: 0 / 1.127 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001767/0.845, allocations: 69.48 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.845, allocations: 51.41 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.386e-05/0.8451, allocations: 96.41 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.8451, allocations: 30.8 kB / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.874e-05/0.8451, allocations: 80.14 kB / 1.127 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.8451, allocations: 8.031 kB / 1.127 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.8451, allocations: 4 kB / 1.127 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.685e-05/0.8452, allocations: 319.2 kB / 1.128 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.8452, allocations: 4 kB / 1.128 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.699e-05/0.8453, allocations: 38.89 kB / 1.128 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.545e-05/0.8453, allocations: 8 kB / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8453, allocations: 4 kB / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.131e-05/0.8454, allocations: 72.73 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.8454, allocations: 7.422 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.8454, allocations: 5.312 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.8454, allocations: 0 / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.207e-05/0.8455, allocations: 12.88 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.8455, allocations: 0 / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.8455, allocations: 0.5625 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.8455, allocations: 4 kB / 1.128 GB, free: 32.28 MB / 0.7292 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 5.648e-05/0.8456, allocations: 121.9 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.8456, allocations: 7.469 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.8457, allocations: 3.5 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.8457, allocations: 0 / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.8457, allocations: 5.875 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.8457, allocations: 0 / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.79e-05/0.8458, allocations: 158 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8458, allocations: 0 / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.044e-05/0.8458, allocations: 0 / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.8458, allocations: 7.953 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.8458, allocations: 3.375 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8458, allocations: 4 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.8458, allocations: 0 / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.8459, allocations: 84.44 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.846, allocations: 81.02 kB / 1.128 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.846, allocations: 3.953 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.056e-05/0.846, allocations: 0 / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.846, allocations: 17.09 kB / 1.128 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.846, allocations: 4 kB / 1.128 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.903e-05/0.8461, allocations: 79.28 kB / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8461, allocations: 0 / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002245/0.8463, allocations: 35.56 kB / 1.128 GB, free: 31.61 MB / 0.7292 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.0003417/0.8467, allocations: 174.8 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.246e-05/0.8468, allocations: 27.27 kB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.8468, allocations: 0 / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.137e-05/0.8468, allocations: 13.73 kB / 1.129 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.309e-05/0.8469, allocations: 4.422 kB / 1.129 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.8471, allocations: 112.9 kB / 1.129 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.8473, allocations: 0.6841 MB / 1.129 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.892e-05/0.8473, allocations: 7.406 kB / 1.129 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.504e-05/0.8473, allocations: 12.38 kB / 1.129 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.8473, allocations: 0 / 1.129 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of Templates: time 0.003136/0.8505, allocations: 1.108 MB / 1.131 GB, free: 29.96 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)