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.001527/0.001527, allocations: 104 kB / 16.35 MB, free: 5.879 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.001619/0.001619, allocations: 195.1 kB / 17.29 MB, free: 5.516 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.405/1.405, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.748/1.748, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.00145/0.00145, allocations: 67.91 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2453, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.003988/0.2493, allocations: 1.225 MB / 0.786 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.2506, allocations: 431.4 kB / 0.7864 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/0.2506, allocations: 0 / 0.7864 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.2506, allocations: 4 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.388e-05/0.2507, allocations: 7.938 kB / 0.7864 GB, free: 1.527 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.0006527/0.2514, allocations: 111.6 kB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.626e-05/0.2515, allocations: 19.92 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.82e-05/0.2515, allocations: 4 kB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.18e-05/0.2516, allocations: 4 kB / 0.7865 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.2516, allocations: 15.91 kB / 0.7865 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.2516, allocations: 4 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/0.2519, allocations: 95.84 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.252, allocations: 7.984 kB / 0.7866 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.252, allocations: 7.938 kB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.2522, allocations: 103.8 kB / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2523, allocations: 0 / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2523, allocations: 0 / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.2523, allocations: 0 / 0.7867 GB, free: 1.16 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.0005594/0.2528, allocations: 377.1 kB / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.2529, allocations: 12.03 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.2529, allocations: 0.9375 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.2531, allocations: 164.3 kB / 0.7873 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.2531, allocations: 8.375 kB / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.2531, allocations: 4.375 kB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.2533, allocations: 42.23 kB / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2533, allocations: 192 / 0.7873 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.2533, allocations: 3.938 kB / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2533, allocations: 0 / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.052e-05/0.2534, allocations: 8 kB / 0.7873 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.2536, allocations: 153.7 kB / 0.7875 GB, free: 260 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.819e-05/0.2537, allocations: 30.55 kB / 0.7875 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.225e-05/0.2538, allocations: 16.86 kB / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.2538, allocations: 0 / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.254, allocations: 55.48 kB / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.254, allocations: 0 / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002633/0.2543, allocations: 73.47 kB / 0.7876 GB, free: 52 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.333/0.5873, allocations: 54.97 kB / 0.7877 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.5874, allocations: 101.5 kB / 0.7878 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.5874, allocations: 27.7 kB / 0.7878 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.734e-05/0.5875, allocations: 86.83 kB / 0.7879 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.5875, allocations: 6.031 kB / 0.7879 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.5875, allocations: 23.88 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.692e-05/0.5876, allocations: 319.2 kB / 0.7882 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.5876, allocations: 6.984 kB / 0.7882 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.739e-05/0.5877, allocations: 31.17 kB / 0.7883 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.916e-05/0.5877, allocations: 46.36 kB / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5878, allocations: 0 / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001116/0.5879, allocations: 73.31 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.5879, allocations: 5.938 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.5879, allocations: 6.125 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.5879, allocations: 5.156 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.588, allocations: 8.688 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.588, allocations: 3.844 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.102e-05/0.5881, allocations: 6.453 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.5881, allocations: 3.188 kB / 0.7884 GB, free: 48.2 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.927e-05/0.5882, allocations: 119.9 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.5882, allocations: 0 / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.5882, allocations: 10.58 kB / 0.7885 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.5882, allocations: 0 / 0.7885 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5882, allocations: 5.719 kB / 0.7886 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.5882, allocations: 2.438 kB / 0.7886 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.655e-05/0.5883, allocations: 154.8 kB / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5883, allocations: 0 / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-05/0.5884, allocations: 6 kB / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.5884, allocations: 0 / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.5884, allocations: 7.844 kB / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5884, allocations: 0 / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5884, allocations: 5.609 kB / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.5885, allocations: 84.41 kB / 0.7888 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.5885, allocations: 77.11 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.5886, allocations: 5.906 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.268e-05/0.5886, allocations: 2.875 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.5886, allocations: 10.38 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.5886, allocations: 2.781 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.295e-05/0.5887, allocations: 82.11 kB / 0.789 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5887, allocations: 0 / 0.789 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002969/0.589, allocations: 36.91 kB / 0.789 GB, free: 47.66 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.0003134/0.5893, allocations: 158.1 kB / 0.7892 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.5894, allocations: 33.19 kB / 0.7892 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5894, allocations: 0 / 0.7892 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.413e-05/0.5895, allocations: 13.88 kB / 0.7892 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.5896, allocations: 3.234 kB / 0.7892 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000208/0.5898, allocations: 117.4 kB / 0.7893 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.693e-05/0.5899, allocations: 0.6772 MB / 0.79 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.837e-05/0.59, allocations: 2.625 kB / 0.79 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.487e-05/0.59, allocations: 10.94 kB / 0.79 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.59, allocations: 0 / 0.79 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.003086/0.5931, allocations: 1.04 MB / 0.791 GB, free: 46.73 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)