Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001142/0.001142, allocations: 106.9 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.001117/0.001117, allocations: 191 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.401/1.401, 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.789/1.789, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001479/0.001479, allocations: 66.25 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2461, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002434/0.2486, allocations: 1.229 MB / 0.786 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000838/0.2495, allocations: 455.3 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.763e-05/0.2495, allocations: 3.938 kB / 0.7864 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.2495, allocations: 0 / 0.7864 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.998e-05/0.2496, allocations: 7.938 kB / 0.7864 GB, free: 1.461 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/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.0005454/0.2501, allocations: 111.6 kB / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.468e-05/0.2502, allocations: 27.91 kB / 0.7865 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.09e-05/0.2503, allocations: 4 kB / 0.7865 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.57e-05/0.2503, allocations: 15.92 kB / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.736e-05/0.2503, allocations: 4 kB / 0.7866 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.2504, allocations: 0 / 0.7866 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.2506, allocations: 103.8 kB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.2506, allocations: 11.92 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.2506, allocations: 15.94 kB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.2508, allocations: 99.78 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2509, allocations: 4 kB / 0.7868 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2509, allocations: 0 / 0.7868 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2509, allocations: 0 / 0.7868 GB, free: 1.07 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.0004664/0.2513, allocations: 381.1 kB / 0.7871 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2514, allocations: 12.03 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.2514, allocations: 0.9375 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2515, allocations: 172.3 kB / 0.7873 GB, free: 432 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.2516, allocations: 4.375 kB / 0.7873 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.2516, allocations: 384 / 0.7873 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.2517, allocations: 42.25 kB / 0.7874 GB, free: 380 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2517, allocations: 8.109 kB / 0.7874 GB, free: 372 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2517, allocations: 3.938 kB / 0.7874 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2517, allocations: 0 / 0.7874 GB, free: 368 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.225e-05/0.2518, allocations: 4 kB / 0.7874 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.2519, allocations: 157.7 kB / 0.7875 GB, free: 156 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.126e-05/0.252, allocations: 26.61 kB / 0.7876 GB, free: 120 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.682e-05/0.2521, allocations: 20.86 kB / 0.7876 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.2521, allocations: 0 / 0.7876 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.2522, allocations: 59.42 kB / 0.7876 GB, free: 24 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 2.615e-06/0.2522, allocations: 7.922 kB / 0.7876 GB, free: 16 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.4178/0.67, allocations: 63.69 kB / 0.7877 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.6701, allocations: 53.81 kB / 0.7878 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.289e-05/0.6702, allocations: 108.5 kB / 0.7879 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.6703, allocations: 25.7 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.6703, allocations: 86.09 kB / 0.788 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.6703, allocations: 16.55 kB / 0.788 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.6704, allocations: 23.31 kB / 0.788 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.917e-05/0.6704, allocations: 312.2 kB / 0.7883 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.6704, allocations: 9.391 kB / 0.7883 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-05/0.6705, allocations: 38.05 kB / 0.7883 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.228e-05/0.6705, allocations: 44.25 kB / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6706, allocations: 0 / 0.7884 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001011/0.6707, allocations: 70.05 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.6707, allocations: 9.875 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.6707, allocations: 2.562 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.6707, allocations: 3.328 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.295e-05/0.6708, allocations: 11.34 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.6708, allocations: 2.812 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.6709, allocations: 3.344 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.6709, allocations: 2.719 kB / 0.7885 GB, free: 48.09 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.702e-05/0.6709, allocations: 115.4 kB / 0.7886 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.671, allocations: 8.781 kB / 0.7886 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.671, allocations: 7.938 kB / 0.7886 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.671, allocations: 2.812 kB / 0.7886 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.671, allocations: 0 / 0.7886 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.671, allocations: 0.6875 kB / 0.7886 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.803e-05/0.6711, allocations: 156.4 kB / 0.7888 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6711, allocations: 0.8125 kB / 0.7888 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.338e-05/0.6712, allocations: 6.594 kB / 0.7888 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.6712, allocations: 0 / 0.7888 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.6712, allocations: 3 kB / 0.7888 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.6712, allocations: 2.562 kB / 0.7888 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6712, allocations: 0 / 0.7888 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.6713, allocations: 96.22 kB / 0.7889 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.6714, allocations: 85.05 kB / 0.789 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.6714, allocations: 1.031 kB / 0.789 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.211e-05/0.6714, allocations: 0 / 0.789 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.6714, allocations: 6.344 kB / 0.789 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.6714, allocations: 0 / 0.789 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.68e-05/0.6715, allocations: 84 kB / 0.789 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.6715, allocations: 0.5312 kB / 0.789 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000305/0.6718, allocations: 45.72 kB / 0.7891 GB, free: 47.54 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.0003966/0.6722, allocations: 165.1 kB / 0.7892 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.6723, allocations: 31.77 kB / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6724, allocations: 0 / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.51e-05/0.6724, allocations: 18.92 kB / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.6726, allocations: 4.484 kB / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002443/0.6728, allocations: 112.6 kB / 0.7894 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.6729, allocations: 0.6795 MB / 0.7901 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.171e-05/0.673, allocations: 1.062 kB / 0.7901 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.673, allocations: 17.44 kB / 0.7901 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.673, allocations: 1.719 kB / 0.7901 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of Templates: time 0.003108/0.6761, allocations: 1.067 MB / 0.7911 GB, free: 46.61 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)