Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 102.1 kB / 16.36 MB, free: 6.309 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.001067/0.001067, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.395/1.395, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.859/1.859, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001425/0.001425, allocations: 71.91 kB / 0.6729 GB, free: 5.785 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2442, allocations: 114.6 MB / 0.7848 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002476/0.2467, allocations: 1.217 MB / 0.786 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008852/0.2476, allocations: 439.3 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.602e-05/0.2477, allocations: 0 / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.2477, allocations: 0 / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.473e-05/0.2478, allocations: 7.938 kB / 0.7864 GB, free: 1.445 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/logit1D.mo:2:1-32:12:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.logit1D' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0005735/0.2483, allocations: 103.6 kB / 0.7865 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.155e-05/0.2484, allocations: 23.91 kB / 0.7865 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.2485, allocations: 4 kB / 0.7865 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.948e-05/0.2485, allocations: 7.984 kB / 0.7865 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.89e-05/0.2485, allocations: 11.88 kB / 0.7865 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.2486, allocations: 0 / 0.7865 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.2488, allocations: 103.9 kB / 0.7866 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.2488, allocations: 4 kB / 0.7866 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.2488, allocations: 11.92 kB / 0.7866 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.249, allocations: 99.75 kB / 0.7867 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2491, allocations: 0 / 0.7867 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2491, allocations: 0 / 0.7867 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2491, allocations: 4 kB / 0.7867 GB, free: 1.078 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.0005386/0.2496, allocations: 377.1 kB / 0.7871 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.2497, allocations: 12.03 kB / 0.7871 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.2497, allocations: 4.938 kB / 0.7871 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2498, allocations: 160.4 kB / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.2499, allocations: 12.34 kB / 0.7873 GB, free: 440 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.2499, allocations: 4.375 kB / 0.7873 GB, free: 436 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.25, allocations: 38.25 kB / 0.7873 GB, free: 392 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.25, allocations: 4.188 kB / 0.7873 GB, free: 388 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.25, allocations: 3.938 kB / 0.7873 GB, free: 384 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.25, allocations: 0 / 0.7873 GB, free: 384 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.119e-05/0.2501, allocations: 7.938 kB / 0.7873 GB, free: 376 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.2503, allocations: 157.7 kB / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.836e-05/0.2504, allocations: 26.58 kB / 0.7875 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.2504, allocations: 16.8 kB / 0.7875 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.2504, allocations: 8.078 kB / 0.7875 GB, free: 104 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/0.2505, allocations: 51.41 kB / 0.7876 GB, free: 40 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.2506, allocations: 0 / 0.7876 GB, free: 40 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.4465/0.697, allocations: 74.47 kB / 0.7877 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.6971, allocations: 53.42 kB / 0.7877 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.38e-05/0.6972, allocations: 102.6 kB / 0.7878 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.6972, allocations: 25.7 kB / 0.7878 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.568e-05/0.6973, allocations: 83.05 kB / 0.7879 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.6973, allocations: 10.92 kB / 0.7879 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.6974, allocations: 19.12 kB / 0.7879 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.6974, allocations: 317.1 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.181e-05/0.6974, allocations: 7.156 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.651e-05/0.6975, allocations: 36.58 kB / 0.7883 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.603e-05/0.6975, allocations: 47.16 kB / 0.7883 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6975, allocations: 1 kB / 0.7883 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001113/0.6977, allocations: 72.89 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.6977, allocations: 11.5 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6977, allocations: 0.8438 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.6977, allocations: 3.781 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.289e-05/0.6978, allocations: 8.203 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.6978, allocations: 6.562 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.014e-05/0.6979, allocations: 6.891 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.6979, allocations: 2.938 kB / 0.7884 GB, free: 48.16 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 5.62e-05/0.6979, allocations: 115.6 kB / 0.7885 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.698, allocations: 0.5625 kB / 0.7885 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.698, allocations: 10.25 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.698, allocations: 0 / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.698, allocations: 2.156 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.698, allocations: 0 / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.796e-05/0.6981, allocations: 164.4 kB / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6981, allocations: 0 / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.077e-05/0.6981, allocations: 0 / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.6981, allocations: 0 / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.6982, allocations: 8.969 kB / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6982, allocations: 1.625 kB / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.6982, allocations: 0 / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.6983, allocations: 85.3 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.6983, allocations: 78.73 kB / 0.7889 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.6983, allocations: 6.562 kB / 0.7889 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.147e-05/0.6984, allocations: 2.406 kB / 0.7889 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.6984, allocations: 5.562 kB / 0.7889 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.6984, allocations: 2.562 kB / 0.7889 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.186e-05/0.6984, allocations: 81.03 kB / 0.789 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6984, allocations: 0.5938 kB / 0.789 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003116/0.6988, allocations: 38.81 kB / 0.789 GB, free: 47.61 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.0003398/0.6991, allocations: 167.6 kB / 0.7892 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.6992, allocations: 28.48 kB / 0.7892 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6992, allocations: 0 / 0.7892 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.691e-05/0.6993, allocations: 12.41 kB / 0.7892 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.6994, allocations: 3.406 kB / 0.7892 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002126/0.6996, allocations: 139.9 kB / 0.7894 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.894e-05/0.6997, allocations: 0.679 MB / 0.79 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.6998, allocations: 16.86 kB / 0.79 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.6998, allocations: 0 / 0.79 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.002651/0.7024, allocations: 1.218 MB / 0.7912 GB, free: 46.63 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)