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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.683/2.683, allocations: 284.9 MB / 292.4 MB, free: 10.58 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.002181/0.002181, allocations: 176.9 kB / 360.6 MB, free: 7.312 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.27/2.27, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001107/0.001107, allocations: 92.77 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.075e-05/3.084e-05, allocations: 8 kB / 0.8508 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.8176, allocations: 115.3 MB / 0.9634 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2585/1.076, allocations: 137.2 MB / 1.097 GB, free: 3.273 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/1.077, allocations: 75 kB / 1.097 GB, free: 3.203 MB / 0.698 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.009215/1.086, allocations: 2.014 MB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.573e-06/1.086, allocations: 4 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.644e-06/1.086, allocations: 0 / 1.099 GB, free: 1.223 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.0005003/1.086, allocations: 365.2 kB / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/1.086, allocations: 15.97 kB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/1.087, allocations: 6.875 kB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/1.087, allocations: 171.6 kB / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/1.087, allocations: 0 / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/1.087, allocations: 4 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.319e-05/1.087, allocations: 4.531 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.924e-05/1.087, allocations: 35.22 kB / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.087, allocations: 0.8438 kB / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/1.087, allocations: 2.25 kB / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.087, allocations: 0 / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/1.087, allocations: 143.2 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.476e-05/1.087, allocations: 30.03 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/1.087, allocations: 17.41 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/1.087, allocations: 3.547 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/1.088, allocations: 52.03 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/1.088, allocations: 0 / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002043/1.088, allocations: 53.3 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/1.088, allocations: 51.41 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.661e-05/1.088, allocations: 97.73 kB / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/1.088, allocations: 25.7 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/1.088, allocations: 80.73 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/1.088, allocations: 12.53 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/1.088, allocations: 0 / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.088, allocations: 316.1 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.394e-05/1.088, allocations: 4 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-05/1.088, allocations: 36.61 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.493e-05/1.088, allocations: 5.344 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.088, allocations: 0.875 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001457/1.089, allocations: 68.61 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/1.089, allocations: 8.625 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.089, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.089, allocations: 8.609 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.776e-05/1.089, allocations: 8 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/1.089, allocations: 4.562 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.793e-05/1.089, allocations: 7.469 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/1.089, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 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 () * 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 0.0001062/1.089, allocations: 116.7 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001268/1.089, allocations: 57.62 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/1.089, allocations: 4 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/1.089, allocations: 4.125 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.089, allocations: 0 / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.089, allocations: 0 / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/1.089, allocations: 0.9375 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/1.089, allocations: 138.5 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/1.089, allocations: 0 / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/1.089, allocations: 8.656 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/1.089, allocations: 4 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/1.089, allocations: 1.812 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.089, allocations: 0 / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.089, allocations: 0 / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/1.09, allocations: 84.14 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/1.09, allocations: 81.06 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/1.09, allocations: 0 / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.196e-05/1.09, allocations: 0 / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/1.09, allocations: 11.98 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/1.09, allocations: 0 / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.343e-05/1.09, allocations: 78.88 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.9e-07/1.09, allocations: 4 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004136/1.09, allocations: 35.94 kB / 1.102 GB, free: 14.74 MB / 0.7136 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 () * 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.00093/1.091, allocations: 0.6979 MB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001248/1.091, allocations: 23.92 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.091, allocations: 11.94 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.699e-05/1.091, allocations: 4 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/1.092, allocations: 5.5 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/1.092, allocations: 116.2 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/1.092, allocations: 0.6768 MB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.849e-05/1.092, allocations: 0 / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/1.093, allocations: 19.38 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of SimCode: time 7.82e-07/1.093, allocations: 0 / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03675/1.129, allocations: 1.508 MB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003414/1.13, allocations: 192.2 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/3.415, allocations: 8.031 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)