Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.608/1.608, allocations: 288.4 MB / 304.3 MB, free: 8.152 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.0009702/0.0009699, allocations: 185.1 kB / 372.9 MB, free: 10.16 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.351/1.351, allocations: 205.4 MB / 0.6317 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007256/0.0007257, allocations: 90.81 kB / 0.745 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003653, allocations: 11.47 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1933, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6293/0.8226, allocations: 138.1 MB / 1.116 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.8229, allocations: 72.25 kB / 1.116 GB, free: 16.45 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.005535/0.8284, allocations: 2.037 MB / 1.118 GB, free: 32.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.585e-06/0.8284, allocations: 4 kB / 1.118 GB, free: 32.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.8285, allocations: 0 / 1.118 GB, free: 32.07 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.0003863/0.8289, allocations: 377.8 kB / 1.118 GB, free: 31.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.8289, allocations: 7.719 kB / 1.118 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.8289, allocations: 5.375 kB / 1.118 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.8291, allocations: 164 kB / 1.118 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.8291, allocations: 3.609 kB / 1.118 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.8291, allocations: 5.031 kB / 1.118 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.8292, allocations: 37.11 kB / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8292, allocations: 192 / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.8292, allocations: 3.938 kB / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.8293, allocations: 0 / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.017e-05/0.8293, allocations: 14.59 kB / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.8294, allocations: 156 kB / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.836e-05/0.8295, allocations: 28.95 kB / 1.118 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.582e-05/0.8295, allocations: 12.77 kB / 1.118 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.8296, allocations: 4 kB / 1.118 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/0.8297, allocations: 60.73 kB / 1.119 GB, free: 31.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.8297, allocations: 3.812 kB / 1.119 GB, free: 31.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001793/0.8299, allocations: 64.61 kB / 1.119 GB, free: 31.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.8299, allocations: 58.5 kB / 1.119 GB, free: 31.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.968e-05/0.83, allocations: 92.95 kB / 1.119 GB, free: 30.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.83, allocations: 36.77 kB / 1.119 GB, free: 30.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.983e-05/0.83, allocations: 80.14 kB / 1.119 GB, free: 30.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.8301, allocations: 7.734 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.8301, allocations: 3.188 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.527e-05/0.8302, allocations: 315.9 kB / 1.119 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.8302, allocations: 8.594 kB / 1.119 GB, free: 30.51 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.708e-05/0.8302, allocations: 36.92 kB / 1.119 GB, free: 30.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.83e-05/0.8303, allocations: 47.27 kB / 1.119 GB, free: 30.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.8303, allocations: 0 / 1.119 GB, free: 30.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.309e-05/0.8304, allocations: 74 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.8304, allocations: 7.812 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.8304, allocations: 6.438 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.8304, allocations: 4.094 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/0.8305, allocations: 9.562 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.8305, allocations: 0 / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.8305, allocations: 0 / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.8305, allocations: 3.938 kB / 1.119 GB, free: 30.39 MB / 0.698 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 7.404e-05/0.8306, allocations: 122.2 kB / 1.119 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.8306, allocations: 3.938 kB / 1.119 GB, free: 30.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.8307, allocations: 6.938 kB / 1.119 GB, free: 30.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.8307, allocations: 1.5 kB / 1.119 GB, free: 30.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.8307, allocations: 7.906 kB / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.8307, allocations: 0 / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.564e-05/0.8308, allocations: 148.5 kB / 1.12 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8308, allocations: 2.016 kB / 1.12 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.031e-05/0.8308, allocations: 0 / 1.12 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.8308, allocations: 3.938 kB / 1.12 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.8308, allocations: 3.969 kB / 1.12 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8308, allocations: 0 / 1.12 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8308, allocations: 3.984 kB / 1.12 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.8309, allocations: 90.55 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.831, allocations: 82.66 kB / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.831, allocations: 7.812 kB / 1.12 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/0.831, allocations: 7.812 kB / 1.12 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.8311, allocations: 1.641 kB / 1.12 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.8311, allocations: 3.938 kB / 1.12 GB, free: 29.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.944e-05/0.8311, allocations: 83.83 kB / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8311, allocations: 0 / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002211/0.8313, allocations: 36.98 kB / 1.12 GB, free: 29.79 MB / 0.698 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.0002885/0.8316, allocations: 162.9 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.681e-05/0.8317, allocations: 29.53 kB / 1.12 GB, free: 29.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.8317, allocations: 0 / 1.12 GB, free: 29.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.987e-05/0.8318, allocations: 14.03 kB / 1.12 GB, free: 29.69 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.8319, allocations: 6.641 kB / 1.12 GB, free: 29.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002174/0.8321, allocations: 120.4 kB / 1.12 GB, free: 29.58 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.8323, allocations: 0.6756 MB / 1.121 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.833e-05/0.8323, allocations: 5.781 kB / 1.121 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/0.8324, allocations: 7.438 kB / 1.121 GB, free: 28.88 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.8324, allocations: 0 / 1.121 GB, free: 28.88 MB / 0.698 GB Notification: Performance of Templates: time 0.00277/0.8351, allocations: 1.108 MB / 1.122 GB, free: 28.77 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)