Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 104.5 kB / 15.98 MB, free: 5.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 197.7 kB / 16.91 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.1 MB / 222.8 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 292.3 MB / 0.5492 GB, free: 17.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 71.91 kB / 0.6716 GB, free: 6.965 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2149, allocations: 114.5 MB / 0.7835 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002445/0.2174, allocations: 1.278 MB / 0.7847 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006746/0.2181, allocations: 383.7 kB / 0.7851 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.715e-05/0.2181, allocations: 0 / 0.7851 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.2181, allocations: 0 / 0.7851 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.692e-05/0.2182, allocations: 0 / 0.7851 GB, free: 2.633 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 NFTyping.typeClassSections: time 0.0004416/0.2186, allocations: 83.8 kB / 0.7852 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.46e-05/0.2187, allocations: 23.92 kB / 0.7852 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.55e-05/0.2187, allocations: 0 / 0.7852 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.863e-05/0.2188, allocations: 7.984 kB / 0.7852 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.726e-05/0.2188, allocations: 11.98 kB / 0.7852 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.2188, allocations: 0 / 0.7852 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.219, allocations: 87.84 kB / 0.7853 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.219, allocations: 7.938 kB / 0.7853 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.219, allocations: 7.984 kB / 0.7853 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.2191, allocations: 55.92 kB / 0.7854 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2191, allocations: 3.938 kB / 0.7854 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2192, allocations: 4 kB / 0.7854 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.2192, allocations: 7.938 kB / 0.7854 GB, free: 2.336 MB / 0.6544 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.0004116/0.2196, allocations: 369.5 kB / 0.7857 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2196, allocations: 12.03 kB / 0.7858 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.2197, allocations: 0.9375 kB / 0.7858 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.237e-05/0.2198, allocations: 168.3 kB / 0.7859 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.2198, allocations: 8.312 kB / 0.7859 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.2198, allocations: 384 / 0.7859 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.085e-05/0.2199, allocations: 42.23 kB / 0.786 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.2199, allocations: 4.188 kB / 0.786 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2199, allocations: 7.938 kB / 0.786 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.2199, allocations: 0 / 0.786 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.526e-05/0.22, allocations: 0 / 0.786 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.2201, allocations: 157.7 kB / 0.7861 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.828e-05/0.2202, allocations: 30.52 kB / 0.7862 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.2202, allocations: 8.859 kB / 0.7862 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.2202, allocations: 8.094 kB / 0.7862 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.2204, allocations: 55.39 kB / 0.7862 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.2204, allocations: 0 / 0.7862 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001689/0.2205, allocations: 65.61 kB / 0.7863 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/0.2206, allocations: 59.34 kB / 0.7863 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.099e-05/0.2207, allocations: 97.86 kB / 0.7864 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.2207, allocations: 29.83 kB / 0.7865 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/0.2208, allocations: 84.12 kB / 0.7866 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.2208, allocations: 11.89 kB / 0.7866 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.2208, allocations: 21.72 kB / 0.7866 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.792e-05/0.2209, allocations: 310.8 kB / 0.7869 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/0.2209, allocations: 11.98 kB / 0.7869 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.865e-05/0.221, allocations: 27.44 kB / 0.7869 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.992e-05/0.2211, allocations: 55.3 kB / 0.787 GB, free: 484 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2211, allocations: 0 / 0.787 GB, free: 484 kB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.953e-05/0.2212, allocations: 69.53 kB / 0.787 GB, free: 408 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2212, allocations: 10.91 kB / 0.787 GB, free: 400 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2212, allocations: 4 kB / 0.7871 GB, free: 396 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.2212, allocations: 4.094 kB / 0.7871 GB, free: 392 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.027e-05/0.2213, allocations: 11.94 kB / 0.7871 GB, free: 380 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2213, allocations: 3.984 kB / 0.7871 GB, free: 376 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.2213, allocations: 0 / 0.7871 GB, free: 376 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.2214, allocations: 8 kB / 0.7871 GB, free: 368 kB / 0.6544 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 (y,$PRE.y,curSeed,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.2214, allocations: 117.8 kB / 0.7872 GB, free: 240 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.2215, allocations: 3.938 kB / 0.7872 GB, free: 236 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.2215, allocations: 11.44 kB / 0.7872 GB, free: 220 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.2215, allocations: 0 / 0.7872 GB, free: 220 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2215, allocations: 4 kB / 0.7872 GB, free: 216 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2215, allocations: 4.234 kB / 0.7872 GB, free: 212 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.994e-05/0.2216, allocations: 145.7 kB / 0.7874 GB, free: 16 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2216, allocations: 4 kB / 0.7874 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.115e-05/0.2216, allocations: 4 kB / 0.7874 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2216, allocations: 7.922 kB / 0.7874 GB, free: 0 / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.3278/0.5495, allocations: 0.6719 kB / 0.7874 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/0.5495, allocations: 0.9844 kB / 0.7874 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5496, allocations: 0.9375 kB / 0.7874 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.5498, allocations: 88.7 kB / 0.7875 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.5498, allocations: 79.3 kB / 0.7875 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.5498, allocations: 6.344 kB / 0.7875 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.986e-05/0.5499, allocations: 0.5625 kB / 0.7875 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.5499, allocations: 4.906 kB / 0.7875 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.5499, allocations: 2.906 kB / 0.7875 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.501e-05/0.5499, allocations: 81.06 kB / 0.7876 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.55, allocations: 0 / 0.7876 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003069/0.5503, allocations: 32.98 kB / 0.7877 GB, free: 48.52 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003034/0.5506, allocations: 146.4 kB / 0.7878 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.5507, allocations: 29.8 kB / 0.7878 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5507, allocations: 1.75 kB / 0.7878 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.5508, allocations: 13.41 kB / 0.7878 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.5509, allocations: 3.219 kB / 0.7878 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002138/0.5511, allocations: 133.6 kB / 0.788 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.217e-05/0.5512, allocations: 0.6777 MB / 0.7886 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.543e-05/0.5513, allocations: 13.53 kB / 0.7886 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.5513, allocations: 0 / 0.7886 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.002383/0.5536, allocations: 1.142 MB / 0.7898 GB, free: 47.59 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)