Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.542/1.542, allocations: 249.3 MB / 261.9 MB, free: 5.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001439, allocations: 182.1 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.1 MB / 0.572 GB, free: 10.71 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.0009565/0.0009565, allocations: 95.02 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.661e-05/3.663e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2505, allocations: 106.3 MB / 0.8919 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7582/1.009, allocations: 131.7 MB / 1.021 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/1.009, allocations: 77.06 kB / 1.021 GB, free: 2.973 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.005815/1.015, allocations: 2.012 MB / 1.023 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.505e-06/1.015, allocations: 0 / 1.023 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.483e-06/1.015, allocations: 0 / 1.023 GB, free: 1.23 MB / 0.6355 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.0004102/1.015, allocations: 379.1 kB / 1.023 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/1.015, allocations: 8.031 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.952e-05/1.015, allocations: 37.86 kB / 1.023 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/1.015, allocations: 4 kB / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/1.016, allocations: 163 kB / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/1.016, allocations: 10.69 kB / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/1.016, allocations: 0 / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/1.016, allocations: 46.97 kB / 1.023 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/1.016, allocations: 0 / 1.023 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/1.016, allocations: 3.984 kB / 1.023 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/1.016, allocations: 0 / 1.023 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.099e-05/1.016, allocations: 11.56 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/1.016, allocations: 248 kB / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.737e-05/1.016, allocations: 41.06 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/1.016, allocations: 12.86 kB / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/1.016, allocations: 0 / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/1.016, allocations: 66.66 kB / 1.024 GB, free: 76 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/1.016, allocations: 0 / 1.024 GB, free: 76 kB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0001767/1.017, allocations: 60.69 kB / 1.024 GB, free: 16 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/1.017, allocations: 51.41 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.275e-05/1.017, allocations: 96.95 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/1.017, allocations: 29.02 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/1.017, allocations: 80.14 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/1.017, allocations: 19.73 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/1.017, allocations: 0 / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.017, allocations: 310.8 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/1.017, allocations: 11.62 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.763e-05/1.017, allocations: 39.17 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.616e-05/1.017, allocations: 15.92 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.017, allocations: 0 / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001099/1.017, allocations: 68.48 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.017, allocations: 5.562 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.017, allocations: 4 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/1.017, allocations: 4.062 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.703e-05/1.017, allocations: 11.94 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/1.017, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.076e-05/1.018, allocations: 7.938 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/1.018, allocations: 7.953 kB / 1.024 GB, free: 15.24 MB / 0.6511 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.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.492e-05/1.018, allocations: 108.2 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/1.018, allocations: 7.891 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/1.018, allocations: 7.562 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.018, allocations: 3.938 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.018, allocations: 4 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/1.018, allocations: 64 / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/1.018, allocations: 304.4 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/1.018, allocations: 0 / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.758e-05/1.018, allocations: 3.984 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/1.018, allocations: 4 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/1.018, allocations: 0 / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.018, allocations: 160 / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/1.018, allocations: 0 / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/1.018, allocations: 163.2 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/1.018, allocations: 77.11 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/1.018, allocations: 3.375 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.585e-05/1.018, allocations: 7.938 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/1.018, allocations: 96 / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/1.018, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.935e-05/1.018, allocations: 83.27 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.019, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002975/1.019, allocations: 47.3 kB / 1.025 GB, free: 14.36 MB / 0.6511 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008075/1.02, allocations: 0.7847 MB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.313e-05/1.02, allocations: 35.69 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.02, allocations: 0 / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.539e-05/1.02, allocations: 15.94 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/1.02, allocations: 6.984 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/1.02, allocations: 125.9 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/1.021, allocations: 0.677 MB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.164e-05/1.021, allocations: 4 kB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/1.021, allocations: 15.56 kB / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of SimCode: time 4.81e-07/1.021, allocations: 0 / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01242/1.033, allocations: 1.854 MB / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/1.033, allocations: 224.6 kB / 1.029 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.521/2.555, allocations: 2.344 kB / 1.029 GB, free: 10.71 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)