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.00147/0.00147, allocations: 101.7 kB / 16.27 MB, free: 6.418 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.001714/0.001714, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.526/1.526, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.81/1.81, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001419/0.001419, allocations: 67.91 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.262, allocations: 114.5 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002973/0.265, allocations: 1.217 MB / 0.7852 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009201/0.266, allocations: 455.4 kB / 0.7856 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.266, allocations: 0 / 0.7856 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.277e-05/0.2661, allocations: 7.938 kB / 0.7856 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.304e-05/0.2661, allocations: 0 / 0.7856 GB, free: 2.168 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.000618/0.2667, allocations: 119.5 kB / 0.7858 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.708e-05/0.2668, allocations: 23.92 kB / 0.7858 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.167e-05/0.2669, allocations: 0 / 0.7858 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.494e-05/0.2669, allocations: 12 kB / 0.7858 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.081e-05/0.2669, allocations: 7.922 kB / 0.7858 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.267, allocations: 4 kB / 0.7858 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.2672, allocations: 107.8 kB / 0.7859 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.2672, allocations: 7.984 kB / 0.7859 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.2673, allocations: 15.92 kB / 0.7859 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.2675, allocations: 99.8 kB / 0.786 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.2675, allocations: 0 / 0.786 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2675, allocations: 3.938 kB / 0.786 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2675, allocations: 0 / 0.786 GB, free: 1.773 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.0005225/0.268, allocations: 385.4 kB / 0.7864 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.2681, allocations: 12.03 kB / 0.7864 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.2681, allocations: 0.9375 kB / 0.7864 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.2683, allocations: 172.3 kB / 0.7866 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.2683, allocations: 4.375 kB / 0.7866 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.2683, allocations: 4.375 kB / 0.7866 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.2684, allocations: 42.23 kB / 0.7866 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.2684, allocations: 192 / 0.7866 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.2685, allocations: 3.938 kB / 0.7866 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.2685, allocations: 4 kB / 0.7866 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.515e-05/0.2685, allocations: 4 kB / 0.7866 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.2687, allocations: 165.6 kB / 0.7868 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.987e-05/0.2688, allocations: 26.52 kB / 0.7868 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.2688, allocations: 16.86 kB / 0.7868 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.2688, allocations: 0 / 0.7868 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.269, allocations: 59.48 kB / 0.7869 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.269, allocations: 0 / 0.7869 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0002273/0.2693, allocations: 85.73 kB / 0.787 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.2693, allocations: 55.41 kB / 0.787 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.178e-05/0.2694, allocations: 105.8 kB / 0.7871 GB, free: 460 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.2694, allocations: 25.7 kB / 0.7871 GB, free: 428 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.2695, allocations: 84.14 kB / 0.7872 GB, free: 340 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.2695, allocations: 15.75 kB / 0.7872 GB, free: 324 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.2695, allocations: 17.72 kB / 0.7873 GB, free: 300 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3771/0.6466, allocations: 322.8 kB / 0.7876 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.069e-05/0.6467, allocations: 6.844 kB / 0.7876 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.212e-05/0.6468, allocations: 43.11 kB / 0.7876 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.516e-05/0.6469, allocations: 54.45 kB / 0.7877 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6469, allocations: 1.531 kB / 0.7877 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001367/0.6471, allocations: 73.73 kB / 0.7877 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.6471, allocations: 10.78 kB / 0.7878 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6471, allocations: 0 / 0.7878 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.6471, allocations: 4.562 kB / 0.7878 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.774e-05/0.6472, allocations: 11.48 kB / 0.7878 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.6472, allocations: 1.078 kB / 0.7878 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.6473, allocations: 10.59 kB / 0.7878 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.6473, allocations: 2.625 kB / 0.7878 GB, free: 48.46 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 7.358e-05/0.6474, allocations: 115.5 kB / 0.7879 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.6474, allocations: 3.75 kB / 0.7879 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.6474, allocations: 8.484 kB / 0.7879 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.6475, allocations: 2.625 kB / 0.7879 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.6475, allocations: 4.641 kB / 0.7879 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.6475, allocations: 3.375 kB / 0.7879 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.6476, allocations: 164.9 kB / 0.7881 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6476, allocations: 0 / 0.7881 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.765e-05/0.6476, allocations: 2.625 kB / 0.7881 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.6476, allocations: 6.234 kB / 0.7881 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.6476, allocations: 0 / 0.7881 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.6476, allocations: 1.969 kB / 0.7881 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.6476, allocations: 3.938 kB / 0.7881 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.6478, allocations: 92.53 kB / 0.7882 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.6478, allocations: 85.58 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.6478, allocations: 4.094 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.299e-05/0.6479, allocations: 0 / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.6479, allocations: 6.062 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.6479, allocations: 5.188 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.754e-05/0.6479, allocations: 81.97 kB / 0.7883 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6479, allocations: 2.406 kB / 0.7883 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003185/0.6483, allocations: 43.92 kB / 0.7884 GB, free: 47.92 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 (5): * Single equations (assignments): 3 * 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.0003472/0.6486, allocations: 152.1 kB / 0.7885 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.6488, allocations: 41.19 kB / 0.7886 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6488, allocations: 0 / 0.7886 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.124e-05/0.6488, allocations: 15.56 kB / 0.7886 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.649, allocations: 1.25 kB / 0.7886 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.6492, allocations: 141.1 kB / 0.7887 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.6493, allocations: 0.685 MB / 0.7894 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.584e-05/0.6493, allocations: 7.438 kB / 0.7894 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.6493, allocations: 2.938 kB / 0.7894 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of Templates: time 0.002834/0.6522, allocations: 1.273 MB / 0.7906 GB, free: 46.95 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)