Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 111.3 kB / 16.38 MB, free: 6.484 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.001081/0.001081, allocations: 190.7 kB / 17.32 MB, free: 5.82 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.273/1.273, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.768/1.768, allocations: 292.3 MB / 0.5496 GB, free: 17.38 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.002661/0.002661, allocations: 70.8 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.202, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002083/0.2041, allocations: 1.225 MB / 0.786 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007521/0.2048, allocations: 451.2 kB / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.037e-05/0.2049, allocations: 0 / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.21e-05/0.2049, allocations: 0 / 0.7864 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.512e-05/0.2049, allocations: 3.938 kB / 0.7864 GB, free: 1.508 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/logit2D.mo:2:1-36:12:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.logit2D' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.2055, allocations: 115.6 kB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.645e-05/0.2056, allocations: 23.91 kB / 0.7866 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.2056, allocations: 7.984 kB / 0.7866 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.266e-05/0.2057, allocations: 7.938 kB / 0.7866 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.333e-05/0.2057, allocations: 15.98 kB / 0.7866 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.2057, allocations: 3.938 kB / 0.7866 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.2059, allocations: 103.9 kB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.2059, allocations: 4 kB / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.206, allocations: 11.92 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.2061, allocations: 103.8 kB / 0.7868 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2062, allocations: 3.984 kB / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2062, allocations: 3.938 kB / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.2062, allocations: 0 / 0.7868 GB, free: 1.109 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004209/0.2066, allocations: 389.1 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.2066, allocations: 8.031 kB / 0.7872 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.2067, allocations: 4.938 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.59e-05/0.2068, allocations: 160.4 kB / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2068, allocations: 384 / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.2068, allocations: 8.375 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.644e-05/0.2069, allocations: 42.23 kB / 0.7874 GB, free: 420 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.2069, allocations: 4.172 kB / 0.7874 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.2069, allocations: 3.938 kB / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.207, allocations: 3.938 kB / 0.7874 GB, free: 408 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.326e-05/0.207, allocations: 12 kB / 0.7874 GB, free: 396 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.2071, allocations: 161.6 kB / 0.7876 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.977e-05/0.2072, allocations: 34.55 kB / 0.7876 GB, free: 140 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/0.2072, allocations: 8.859 kB / 0.7876 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.034e-06/0.2073, allocations: 4 kB / 0.7876 GB, free: 124 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.2074, allocations: 67.42 kB / 0.7877 GB, free: 44 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.2074, allocations: 0 / 0.7877 GB, free: 44 kB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.3484/0.5558, allocations: 70.48 kB / 0.7877 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.5558, allocations: 55.5 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.377e-05/0.5559, allocations: 102.7 kB / 0.7879 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.5559, allocations: 27.33 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.509e-05/0.556, allocations: 85.98 kB / 0.788 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.556, allocations: 13.95 kB / 0.788 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.556, allocations: 19.67 kB / 0.788 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.178e-05/0.5561, allocations: 320.8 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.5561, allocations: 6.562 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.273e-05/0.5562, allocations: 45.19 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.421e-05/0.5562, allocations: 54.8 kB / 0.7884 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5562, allocations: 2.812 kB / 0.7884 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001192/0.5564, allocations: 77.44 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.5564, allocations: 8.125 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5564, allocations: 5.406 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.5564, allocations: 2.594 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.5565, allocations: 11.3 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.5565, allocations: 4.75 kB / 0.7886 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.358e-05/0.5566, allocations: 2.5 kB / 0.7886 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.5566, allocations: 5.469 kB / 0.7886 GB, free: 48.14 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (8): * Single equations (assignments): 8 * 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.925e-05/0.5566, allocations: 115.4 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.5566, allocations: 3.75 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.5567, allocations: 6.188 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5567, allocations: 5.391 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5567, allocations: 1.969 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.5567, allocations: 84.81 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.5567, allocations: 4.656 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.481e-05/0.5568, allocations: 3.328 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.5568, allocations: 0 / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000118/0.5569, allocations: 147.4 kB / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001174/0.557, allocations: 239.8 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.35e-05/0.5571, allocations: 22.09 kB / 0.7892 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.828e-05/0.5571, allocations: 83.95 kB / 0.7892 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of Backend: time 4.51e-07/0.5571, allocations: 3.938 kB / 0.7893 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005587/0.5577, allocations: 161.3 kB / 0.7894 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0002409/0.5579, allocations: 0.5493 MB / 0.7899 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.003171/0.5611, allocations: 1.122 MB / 0.791 GB, free: 46.88 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)