Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.531/2.531, allocations: 287.5 MB / 303.2 MB, free: 8.25 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.001373/0.001373, allocations: 171.7 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.001735/0.001735, allocations: 100.9 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007122/0.0007124, allocations: 10.95 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2257, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9059/1.132, allocations: 138 MB / 1.114 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/1.132, allocations: 73.53 kB / 1.114 GB, free: 15.93 MB / 0.6823 GB [/home/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.008479/1.14, allocations: 2.043 MB / 1.116 GB, free: 31.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/1.141, allocations: 0 / 1.116 GB, free: 31.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.414e-06/1.141, allocations: 0.6875 kB / 1.116 GB, free: 31.54 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.0004593/1.141, allocations: 380.4 kB / 1.116 GB, free: 31.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/1.141, allocations: 11.31 kB / 1.116 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/1.141, allocations: 1.562 kB / 1.116 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/1.141, allocations: 160.4 kB / 1.117 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/1.141, allocations: 10.03 kB / 1.117 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/1.141, allocations: 384 / 1.117 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/1.141, allocations: 40.17 kB / 1.117 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.141, allocations: 192 / 1.117 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/1.141, allocations: 7.219 kB / 1.117 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/1.142, allocations: 4 kB / 1.117 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.228e-05/1.142, allocations: 7.281 kB / 1.117 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/1.142, allocations: 155.8 kB / 1.117 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.905e-05/1.142, allocations: 27.72 kB / 1.117 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.1e-05/1.142, allocations: 11.7 kB / 1.117 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/1.142, allocations: 0 / 1.117 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/1.142, allocations: 66.23 kB / 1.117 GB, free: 30.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.784e-06/1.142, allocations: 0 / 1.117 GB, free: 30.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002341/1.142, allocations: 64.94 kB / 1.117 GB, free: 30.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/1.142, allocations: 58.08 kB / 1.117 GB, free: 30.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.64e-05/1.142, allocations: 96.95 kB / 1.117 GB, free: 30.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/1.142, allocations: 29.64 kB / 1.117 GB, free: 30.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/1.143, allocations: 83.33 kB / 1.117 GB, free: 30.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/1.143, allocations: 11.27 kB / 1.117 GB, free: 30.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/1.143, allocations: 0 / 1.117 GB, free: 30.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.143, allocations: 317.9 kB / 1.118 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.574e-05/1.143, allocations: 7.625 kB / 1.118 GB, free: 29.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.14e-05/1.143, allocations: 39.59 kB / 1.118 GB, free: 29.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.011e-05/1.143, allocations: 44.69 kB / 1.118 GB, free: 29.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.143, allocations: 0 / 1.118 GB, free: 29.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000127/1.143, allocations: 79.34 kB / 1.118 GB, free: 29.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/1.143, allocations: 11.62 kB / 1.118 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.143, allocations: 0 / 1.118 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/1.143, allocations: 0 / 1.118 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.641e-05/1.143, allocations: 11 kB / 1.118 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/1.143, allocations: 0 / 1.118 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.412e-05/1.143, allocations: 7.875 kB / 1.118 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/1.143, allocations: 3.938 kB / 1.118 GB, free: 29.86 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 8.503e-05/1.143, allocations: 117.1 kB / 1.118 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/1.143, allocations: 3.938 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/1.143, allocations: 7.344 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.143, allocations: 0 / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.143, allocations: 2.953 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.143, allocations: 0 / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/1.144, allocations: 152.1 kB / 1.118 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.144, allocations: 4 kB / 1.118 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.712e-05/1.144, allocations: 3.844 kB / 1.118 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.144, allocations: 3.938 kB / 1.118 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/1.144, allocations: 0 / 1.118 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.144, allocations: 3.094 kB / 1.118 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.144, allocations: 0 / 1.118 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/1.144, allocations: 84.83 kB / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/1.144, allocations: 84.86 kB / 1.118 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/1.144, allocations: 7.938 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.79e-05/1.144, allocations: 0 / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/1.144, allocations: 3.422 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/1.144, allocations: 8.625 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.787e-05/1.144, allocations: 75.28 kB / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/1.144, allocations: 0 / 1.118 GB, free: 29.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003637/1.144, allocations: 41.62 kB / 1.118 GB, free: 29.28 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.0004043/1.145, allocations: 173.8 kB / 1.118 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000124/1.145, allocations: 26.34 kB / 1.119 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.145, allocations: 0 / 1.119 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.649e-05/1.145, allocations: 14.81 kB / 1.119 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/1.145, allocations: 4.484 kB / 1.119 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/1.146, allocations: 110.2 kB / 1.119 GB, free: 29.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/1.146, allocations: 0.6761 MB / 1.119 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.081e-05/1.146, allocations: 3.969 kB / 1.119 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/1.146, allocations: 17.83 kB / 1.119 GB, free: 28.35 MB / 0.698 GB Notification: Performance of SimCode: time 1.423e-06/1.146, allocations: 0 / 1.119 GB, free: 28.35 MB / 0.698 GB Notification: Performance of Templates: time 0.004355/1.15, allocations: 1.105 MB / 1.12 GB, free: 28.23 MB / 0.698 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)