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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.82/1.82, allocations: 288.2 MB / 303.2 MB, free: 8.145 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.001367/0.001367, allocations: 185 kB / 371.8 MB, free: 10.3 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.918/1.918, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0009651/0.0009649, allocations: 97.09 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.0004618, allocations: 10.94 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2375, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8017/1.039, allocations: 138.1 MB / 1.114 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/1.04, allocations: 68.83 kB / 1.114 GB, free: 16.29 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.006249/1.046, allocations: 2.033 MB / 1.116 GB, free: 31.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.626e-06/1.046, allocations: 0 / 1.116 GB, free: 31.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.067e-05/1.046, allocations: 0 / 1.116 GB, free: 31.91 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.0005595/1.046, allocations: 381.9 kB / 1.117 GB, free: 31.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/1.046, allocations: 7.844 kB / 1.117 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.528e-05/1.047, allocations: 32.52 kB / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/1.047, allocations: 8.688 kB / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/1.047, allocations: 168.2 kB / 1.117 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/1.047, allocations: 0 / 1.117 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/1.047, allocations: 8.266 kB / 1.117 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/1.047, allocations: 34.39 kB / 1.117 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/1.047, allocations: 3.969 kB / 1.117 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/1.047, allocations: 6.938 kB / 1.117 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.047, allocations: 0 / 1.117 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.556e-05/1.047, allocations: 5.328 kB / 1.117 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/1.047, allocations: 250.5 kB / 1.117 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.983e-05/1.048, allocations: 38.5 kB / 1.117 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/1.048, allocations: 3.938 kB / 1.117 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/1.048, allocations: 59.62 kB / 1.117 GB, free: 30.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/1.048, allocations: 0 / 1.117 GB, free: 30.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0002414/1.048, allocations: 72.95 kB / 1.117 GB, free: 30.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/1.048, allocations: 53.89 kB / 1.117 GB, free: 30.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.987e-05/1.048, allocations: 92.12 kB / 1.118 GB, free: 30.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/1.048, allocations: 25.7 kB / 1.118 GB, free: 30.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/1.048, allocations: 91.64 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/1.048, allocations: 14.53 kB / 1.118 GB, free: 30.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/1.048, allocations: 3.312 kB / 1.118 GB, free: 30.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.048, allocations: 314.8 kB / 1.118 GB, free: 30.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/1.049, allocations: 13.95 kB / 1.118 GB, free: 30.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.306e-05/1.049, allocations: 37.08 kB / 1.118 GB, free: 30.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.218e-05/1.049, allocations: 14.47 kB / 1.118 GB, free: 30.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/1.049, allocations: 0 / 1.118 GB, free: 30.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.931e-05/1.049, allocations: 78.64 kB / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/1.049, allocations: 5.188 kB / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.049, allocations: 6.734 kB / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/1.049, allocations: 0 / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.04e-05/1.049, allocations: 11.69 kB / 1.118 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/1.049, allocations: 3.875 kB / 1.118 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/1.049, allocations: 10.53 kB / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/1.049, allocations: 7.844 kB / 1.118 GB, free: 30.14 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.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked 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 0.0001027/1.049, allocations: 119.7 kB / 1.118 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/1.049, allocations: 3.938 kB / 1.118 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/1.049, allocations: 3.562 kB / 1.118 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/1.049, allocations: 0 / 1.118 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.049, allocations: 0 / 1.118 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/1.049, allocations: 0 / 1.118 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/1.049, allocations: 298.4 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.049, allocations: 4 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/1.049, allocations: 3.844 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/1.049, allocations: 0 / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/1.049, allocations: 0 / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/1.049, allocations: 6.984 kB / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.049, allocations: 0 / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/1.05, allocations: 163.6 kB / 1.119 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/1.05, allocations: 84.86 kB / 1.119 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/1.05, allocations: 4 kB / 1.119 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.634e-05/1.05, allocations: 3 kB / 1.119 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/1.05, allocations: 6.203 kB / 1.119 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/1.05, allocations: 0 / 1.119 GB, free: 29.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.44e-05/1.05, allocations: 75.28 kB / 1.119 GB, free: 29.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/1.05, allocations: 0 / 1.119 GB, free: 29.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003265/1.05, allocations: 36.92 kB / 1.119 GB, free: 29.4 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked 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.0007454/1.051, allocations: 0.7851 MB / 1.12 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001123/1.051, allocations: 37.7 kB / 1.12 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.051, allocations: 0 / 1.12 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/1.051, allocations: 14.55 kB / 1.12 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/1.051, allocations: 7.875 kB / 1.12 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007899/1.052, allocations: 0.7959 MB / 1.121 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/1.052, allocations: 0.6871 MB / 1.121 GB, free: 27.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.151e-05/1.052, allocations: 0 / 1.121 GB, free: 27.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/1.052, allocations: 11.16 kB / 1.121 GB, free: 27.19 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/1.052, allocations: 0 / 1.121 GB, free: 27.19 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/1.065, allocations: 1.839 MB / 1.123 GB, free: 26.99 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/1.065, allocations: 247.4 kB / 1.123 GB, free: 26.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.613, allocations: 3.969 kB / 1.123 GB, free: 26.71 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)