Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.008792/0.008792, allocations: 106.2 kB / 15.74 MB, free: 6 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.0017/0.0017, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.652/1.652, allocations: 205.1 MB / 222.5 MB, free: 4.336 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.653/1.653, allocations: 251.7 MB / 0.5094 GB, free: 3.016 MB / 414.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.001819/0.001819, allocations: 69.77 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2416, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002287/0.2439, allocations: 1.203 MB / 0.8292 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009121/0.2449, allocations: 447.6 kB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.2449, allocations: 0 / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/0.245, allocations: 0 / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.173e-05/0.245, allocations: 3.938 kB / 0.8296 GB, free: 14.53 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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.0006604/0.2457, allocations: 115.6 kB / 0.8297 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.614e-05/0.2458, allocations: 15.98 kB / 0.8297 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.2458, allocations: 0 / 0.8297 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.524e-05/0.2458, allocations: 7.938 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.74e-05/0.2459, allocations: 15.97 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.2459, allocations: 4 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.2462, allocations: 103.8 kB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.2462, allocations: 7.938 kB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.2462, allocations: 4 kB / 0.8299 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.2465, allocations: 95.8 kB / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2465, allocations: 0 / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2465, allocations: 0 / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2465, allocations: 0 / 0.83 GB, free: 14.17 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.0005244/0.247, allocations: 385 kB / 0.8303 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.2471, allocations: 12.03 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.2471, allocations: 12.88 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.2473, allocations: 164.3 kB / 0.8305 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.2473, allocations: 4.375 kB / 0.8305 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.2473, allocations: 384 / 0.8305 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.2474, allocations: 42.22 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.2475, allocations: 192 / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2475, allocations: 7.938 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2475, allocations: 0 / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.78e-05/0.2475, allocations: 8 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.2477, allocations: 161.6 kB / 0.8307 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.289e-05/0.2478, allocations: 34.55 kB / 0.8308 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.583e-05/0.2479, allocations: 8.859 kB / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.2479, allocations: 0 / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.2481, allocations: 59.48 kB / 0.8308 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.2481, allocations: 4 kB / 0.8308 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.000266/0.2483, allocations: 73.55 kB / 0.8309 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.2484, allocations: 51.41 kB / 0.831 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.25e-05/0.2485, allocations: 101.9 kB / 0.8311 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.2485, allocations: 25.7 kB / 0.8311 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.2486, allocations: 84.12 kB / 0.8312 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.2486, allocations: 19.75 kB / 0.8312 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.2487, allocations: 17.72 kB / 0.8312 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2488, allocations: 318.8 kB / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.2488, allocations: 8 kB / 0.8315 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-05/0.2489, allocations: 35.42 kB / 0.8315 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.061e-05/0.249, allocations: 51.36 kB / 0.8316 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.249, allocations: 0 / 0.8316 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001165/0.2491, allocations: 61.62 kB / 0.8316 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.2491, allocations: 11.94 kB / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2492, allocations: 3.938 kB / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.2492, allocations: 0 / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.2493, allocations: 15.92 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2493, allocations: 0 / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.131e-05/0.2493, allocations: 8 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.2493, allocations: 96 / 0.8317 GB, free: 12.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 9.112e-05/0.2494, allocations: 113.8 kB / 0.8318 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.2494, allocations: 12.27 kB / 0.8318 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.2495, allocations: 7.5 kB / 0.8318 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2495, allocations: 0 / 0.8318 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2495, allocations: 3.984 kB / 0.8318 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2495, allocations: 0 / 0.8318 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.2496, allocations: 157.7 kB / 0.832 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.2496, allocations: 0 / 0.832 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.2496, allocations: 7.938 kB / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.2497, allocations: 7.938 kB / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.2497, allocations: 0 / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2497, allocations: 0 / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2497, allocations: 0 / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.2498, allocations: 85.11 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.2499, allocations: 77.11 kB / 0.8321 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.2499, allocations: 3.938 kB / 0.8321 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.984e-05/0.2499, allocations: 3.938 kB / 0.8321 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.25, allocations: 8 kB / 0.8322 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.25, allocations: 3.984 kB / 0.8322 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.2e-05/0.25, allocations: 83.28 kB / 0.8322 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.25, allocations: 0 / 0.8322 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002617/0.2503, allocations: 31.98 kB / 0.8323 GB, free: 11.46 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.0003286/0.2506, allocations: 170.8 kB / 0.8324 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.929e-05/0.2507, allocations: 27.92 kB / 0.8325 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2507, allocations: 0 / 0.8325 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.2508, allocations: 16.22 kB / 0.8325 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.2509, allocations: 0 / 0.8325 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.2512, allocations: 120.8 kB / 0.8326 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.2514, allocations: 0.6766 MB / 0.8332 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.223e-05/0.2515, allocations: 12.17 kB / 0.8333 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.557e-05/0.2515, allocations: 7.438 kB / 0.8333 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.2515, allocations: 0 / 0.8333 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of Templates: time 0.003367/0.2549, allocations: 1.05 MB / 0.8343 GB, free: 9.332 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)