Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006587/0.006587, allocations: 96.11 kB / 15.73 MB, free: 6.039 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.001441/0.001441, allocations: 201.2 kB / 16.68 MB, free: 5.969 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.638/1.638, 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.684/1.684, allocations: 251.7 MB / 0.5094 GB, free: 2.984 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.001589/0.001589, allocations: 63.91 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2421, allocations: 104.7 MB / 0.828 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002887/0.245, allocations: 1.23 MB / 0.8292 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.2461, allocations: 459.6 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.2461, allocations: 0 / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.2462, allocations: 3.938 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.141e-05/0.2462, allocations: 7.984 kB / 0.8297 GB, free: 14.49 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/logit1DQuadratic.mo:2:1-35:21:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.logit1DQuadratic' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0007338/0.247, allocations: 111.6 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.203e-05/0.247, allocations: 23.92 kB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.961e-05/0.2471, allocations: 3.984 kB / 0.8298 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.383e-05/0.2471, allocations: 8 kB / 0.8298 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.711e-05/0.2472, allocations: 15.92 kB / 0.8298 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.2472, allocations: 0 / 0.8298 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.2474, allocations: 99.84 kB / 0.8299 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.2475, allocations: 11.98 kB / 0.8299 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.2475, allocations: 11.92 kB / 0.8299 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.2477, allocations: 99.69 kB / 0.83 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2477, allocations: 0 / 0.83 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2477, allocations: 0 / 0.83 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.2477, allocations: 0 / 0.83 GB, free: 14.11 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.0005112/0.2483, allocations: 400.8 kB / 0.8304 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2483, allocations: 19.91 kB / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.2483, allocations: 0.9375 kB / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.2485, allocations: 168.3 kB / 0.8306 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.2485, allocations: 384 / 0.8306 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.2485, allocations: 384 / 0.8306 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.2486, allocations: 46.23 kB / 0.8306 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2486, allocations: 192 / 0.8306 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.2487, allocations: 3.938 kB / 0.8307 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2487, allocations: 4 kB / 0.8307 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.415e-05/0.2487, allocations: 4 kB / 0.8307 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.2489, allocations: 157.6 kB / 0.8308 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.691e-05/0.249, allocations: 34.55 kB / 0.8308 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.402e-05/0.249, allocations: 16.86 kB / 0.8309 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.249, allocations: 0 / 0.8309 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.2492, allocations: 59.48 kB / 0.8309 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.2492, allocations: 0 / 0.8309 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002171/0.2495, allocations: 73.55 kB / 0.831 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.2495, allocations: 55.41 kB / 0.831 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.808e-05/0.2496, allocations: 105.8 kB / 0.8311 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.2496, allocations: 25.7 kB / 0.8312 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.2497, allocations: 80.14 kB / 0.8312 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.2497, allocations: 15.91 kB / 0.8313 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.2497, allocations: 25.7 kB / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2499, allocations: 310.8 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.2499, allocations: 8 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.301e-05/0.2499, allocations: 35.42 kB / 0.8316 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.694e-05/0.25, allocations: 43.38 kB / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.25, allocations: 0 / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001112/0.2501, allocations: 69.8 kB / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.2502, allocations: 11.94 kB / 0.8317 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2502, allocations: 3.938 kB / 0.8317 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2502, allocations: 4.031 kB / 0.8317 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.253e-05/0.2503, allocations: 15.94 kB / 0.8318 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2503, allocations: 4.094 kB / 0.8318 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/0.2503, allocations: 4 kB / 0.8318 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.2503, allocations: 0 / 0.8318 GB, free: 12.08 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 8.439e-05/0.2504, allocations: 109.8 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.2504, allocations: 19.88 kB / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.2505, allocations: 3.906 kB / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2505, allocations: 256 / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2505, allocations: 0 / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.2505, allocations: 4 kB / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.2506, allocations: 161.6 kB / 0.8321 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2507, allocations: 0 / 0.8321 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/0.2507, allocations: 7.938 kB / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2507, allocations: 3.938 kB / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2507, allocations: 3.984 kB / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2507, allocations: 0 / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2507, allocations: 4 kB / 0.8321 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.2509, allocations: 77.12 kB / 0.8321 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.2509, allocations: 88.98 kB / 0.8322 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.251, allocations: 11.94 kB / 0.8322 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.249e-05/0.251, allocations: 0 / 0.8322 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.251, allocations: 0 / 0.8322 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.251, allocations: 8 kB / 0.8322 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.284e-05/0.2511, allocations: 83.27 kB / 0.8323 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2511, allocations: 0 / 0.8323 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002556/0.2514, allocations: 31.94 kB / 0.8324 GB, free: 11.37 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.0003926/0.2517, allocations: 170.7 kB / 0.8325 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.2519, allocations: 31.95 kB / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2519, allocations: 4 kB / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.403e-05/0.2519, allocations: 15.94 kB / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.2521, allocations: 0 / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.2524, allocations: 116.9 kB / 0.8327 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.2527, allocations: 0.6844 MB / 0.8334 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.606e-05/0.2527, allocations: 7.984 kB / 0.8334 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.2527, allocations: 7.438 kB / 0.8334 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.2527, allocations: 0 / 0.8334 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of Templates: time 0.003582/0.2563, allocations: 1.074 MB / 0.8344 GB, free: 9.219 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)