Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.01246/0.01246, allocations: 103.5 kB / 15.74 MB, free: 6.488 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.002224/0.002224, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.634/1.634, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.575/1.575, allocations: 251.7 MB / 0.5094 GB, free: 2.961 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.00137/0.00137, allocations: 76.31 kB / 0.7258 GB, free: 9.055 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2324, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002333/0.2348, allocations: 1.214 MB / 0.8292 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008467/0.2356, allocations: 451.7 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.2356, allocations: 0 / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.2357, allocations: 0 / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.607e-05/0.2357, allocations: 3.938 kB / 0.8296 GB, free: 14.56 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/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.0005745/0.2363, allocations: 119.6 kB / 0.8298 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.779e-05/0.2364, allocations: 19.92 kB / 0.8298 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.2364, allocations: 8 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.121e-05/0.2365, allocations: 11.92 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.213e-05/0.2365, allocations: 11.94 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.2365, allocations: 3.984 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.2367, allocations: 99.89 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.2367, allocations: 11.98 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.2368, allocations: 7.938 kB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.237, allocations: 103.7 kB / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.237, allocations: 0 / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.733e-06/0.237, allocations: 0 / 0.83 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.237, 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004996/0.2375, allocations: 385.1 kB / 0.8304 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.2375, allocations: 15.97 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.2376, allocations: 4.844 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.2377, allocations: 172.4 kB / 0.8306 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.2377, allocations: 4.375 kB / 0.8306 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.2377, allocations: 4.375 kB / 0.8306 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.2379, allocations: 34.25 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2379, allocations: 192 / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2379, allocations: 11.94 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2379, allocations: 0 / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.124e-05/0.2379, allocations: 15.92 kB / 0.8306 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.2382, allocations: 157.6 kB / 0.8308 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.008e-05/0.2383, allocations: 30.61 kB / 0.8308 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.2383, allocations: 12.86 kB / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.2383, allocations: 0 / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.2385, allocations: 71.42 kB / 0.8309 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.2385, allocations: 0 / 0.8309 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0002358/0.2387, allocations: 77.53 kB / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.2388, allocations: 51.41 kB / 0.831 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.846e-05/0.2388, allocations: 105.8 kB / 0.8311 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.2389, allocations: 25.7 kB / 0.8312 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.2389, allocations: 84.14 kB / 0.8312 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.2389, allocations: 19.89 kB / 0.8312 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.239, allocations: 17.72 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.2392, allocations: 318.8 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.2392, allocations: 7.984 kB / 0.8316 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.366e-05/0.2392, allocations: 48.16 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.846e-05/0.2393, allocations: 60.22 kB / 0.8317 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2393, allocations: 0 / 0.8317 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001176/0.2394, allocations: 73.53 kB / 0.8318 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2395, allocations: 7.938 kB / 0.8318 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.2395, allocations: 4.125 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2395, allocations: 4 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.2396, allocations: 15.92 kB / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2396, allocations: 0 / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.2396, allocations: 8 kB / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.2396, allocations: 3.938 kB / 0.8318 GB, free: 12.09 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 6.487e-05/0.2397, allocations: 109.8 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.2397, allocations: 11.84 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/0.2398, allocations: 7.562 kB / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.2398, allocations: 4 kB / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2398, allocations: 3.984 kB / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2398, allocations: 0 / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.2399, allocations: 161.6 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2399, allocations: 0 / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.2399, allocations: 4.484 kB / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2399, allocations: 11.92 kB / 0.8321 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.2399, allocations: 0 / 0.8321 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.24, allocations: 0 / 0.8321 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.24, allocations: 4 kB / 0.8321 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.2401, allocations: 93.11 kB / 0.8322 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.2401, allocations: 85.02 kB / 0.8323 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.2402, allocations: 3.938 kB / 0.8323 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.155e-05/0.2402, allocations: 0 / 0.8323 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.2402, allocations: 7.984 kB / 0.8323 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.2402, allocations: 0 / 0.8323 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.702e-05/0.2403, allocations: 83.28 kB / 0.8324 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2403, allocations: 0 / 0.8324 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002448/0.2405, allocations: 39.98 kB / 0.8324 GB, free: 11.38 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.0002954/0.2408, allocations: 162.8 kB / 0.8326 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.2409, allocations: 35.92 kB / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.241, allocations: 0 / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.27e-05/0.241, allocations: 12.25 kB / 0.8326 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.2411, allocations: 18.73 kB / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002216/0.2414, allocations: 113.1 kB / 0.8327 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.2416, allocations: 0.6805 MB / 0.8334 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.051e-05/0.2416, allocations: 4 kB / 0.8334 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.2417, allocations: 11.44 kB / 0.8334 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.2417, allocations: 0 / 0.8334 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of Templates: time 0.003275/0.2449, allocations: 1.097 MB / 0.8345 GB, free: 9.199 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)