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.001554/0.001555, allocations: 105.8 kB / 16.37 MB, free: 6.312 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.001801/0.001801, allocations: 187.4 kB / 17.3 MB, free: 5.871 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.37/1.37, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.754/1.754, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.001466/0.001466, allocations: 68.42 kB / 0.6729 GB, free: 5.785 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2116, allocations: 114.5 MB / 0.7848 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002205/0.2138, allocations: 1.219 MB / 0.786 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.2149, allocations: 375.7 kB / 0.7863 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.215, allocations: 3.938 kB / 0.7863 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.616e-05/0.215, allocations: 0 / 0.7863 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.586e-05/0.2151, allocations: 0 / 0.7863 GB, free: 1.516 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/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.0007344/0.2158, allocations: 107.6 kB / 0.7864 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.951e-05/0.2159, allocations: 11.98 kB / 0.7864 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.803e-05/0.216, allocations: 4 kB / 0.7864 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.255e-05/0.216, allocations: 11.92 kB / 0.7865 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.805e-05/0.2161, allocations: 7.984 kB / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.2161, allocations: 4 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.2164, allocations: 91.78 kB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.2164, allocations: 7.984 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.2165, allocations: 7.938 kB / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.2167, allocations: 79.83 kB / 0.7866 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2167, allocations: 0 / 0.7866 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2167, allocations: 4 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.2167, allocations: 4 kB / 0.7867 GB, free: 1.18 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.0004936/0.2172, allocations: 369.2 kB / 0.787 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2173, allocations: 8.031 kB / 0.787 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.2173, allocations: 4.938 kB / 0.787 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.2174, allocations: 168.3 kB / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.2175, allocations: 4.312 kB / 0.7872 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.2175, allocations: 8.375 kB / 0.7872 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.418e-05/0.2176, allocations: 38.25 kB / 0.7872 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.2176, allocations: 192 / 0.7872 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.2176, allocations: 3.938 kB / 0.7872 GB, free: 500 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2176, allocations: 3.984 kB / 0.7872 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.812e-05/0.2177, allocations: 4 kB / 0.7872 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.2178, allocations: 153.7 kB / 0.7874 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.891e-05/0.2179, allocations: 30.52 kB / 0.7874 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/0.2179, allocations: 24.98 kB / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/0.2179, allocations: 0 / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.2181, allocations: 51.41 kB / 0.7875 GB, free: 156 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.2181, allocations: 0 / 0.7875 GB, free: 156 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001911/0.2183, allocations: 65.61 kB / 0.7876 GB, free: 84 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.2184, allocations: 63.34 kB / 0.7876 GB, free: 8 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3108/0.5292, allocations: 93.98 kB / 0.7877 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.5292, allocations: 25.7 kB / 0.7877 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.5e-05/0.5293, allocations: 86.95 kB / 0.7878 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.5293, allocations: 8.406 kB / 0.7878 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.5293, allocations: 27.03 kB / 0.7878 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.671e-05/0.5294, allocations: 313.6 kB / 0.7881 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.5294, allocations: 8.344 kB / 0.7881 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/0.5294, allocations: 32.34 kB / 0.7882 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.409e-05/0.5295, allocations: 43.2 kB / 0.7882 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5295, allocations: 1.5 kB / 0.7882 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001052/0.5296, allocations: 68.19 kB / 0.7883 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.5296, allocations: 8.062 kB / 0.7883 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.5296, allocations: 3.75 kB / 0.7883 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.5297, allocations: 4.453 kB / 0.7883 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.5297, allocations: 10.42 kB / 0.7883 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.5298, allocations: 3.375 kB / 0.7883 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.504e-05/0.5298, allocations: 2.344 kB / 0.7883 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.5298, allocations: 2.625 kB / 0.7883 GB, free: 48.24 MB / 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 4.914e-05/0.5298, allocations: 120.8 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.5299, allocations: 5.281 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.5299, allocations: 3.5 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5299, allocations: 3.938 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5299, allocations: 0 / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.5299, allocations: 86.45 kB / 0.7885 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.5299, allocations: 3.078 kB / 0.7885 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.266e-05/0.53, allocations: 4.469 kB / 0.7885 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.53, allocations: 6 kB / 0.7885 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.893e-05/0.5301, allocations: 132.2 kB / 0.7887 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001009/0.5302, allocations: 232.8 kB / 0.7889 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.786e-05/0.5302, allocations: 13.52 kB / 0.7889 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.372e-05/0.5303, allocations: 78.91 kB / 0.789 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of Backend: time 4.7e-07/0.5303, allocations: 1.031 kB / 0.789 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005261/0.5308, allocations: 154.6 kB / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0002082/0.531, allocations: 0.5345 MB / 0.7897 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of Templates: time 0.002768/0.5338, allocations: 0.9843 MB / 0.7906 GB, free: 46.99 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)