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.00112/0.00112, allocations: 109.3 kB / 16.38 MB, free: 6.484 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.001087/0.001087, allocations: 190.7 kB / 17.32 MB, free: 5.82 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.265/1.265, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.776/1.776, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001427/0.001427, allocations: 67.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1918, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.00288/0.1947, allocations: 1.232 MB / 0.786 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1958, allocations: 459.2 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.1958, allocations: 0 / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.1958, allocations: 4 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.779e-05/0.1959, allocations: 3.938 kB / 0.7864 GB, free: 1.484 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.0006762/0.1966, allocations: 115.6 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.709e-05/0.1967, allocations: 27.91 kB / 0.7866 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.02e-05/0.1967, allocations: 0 / 0.7866 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.206e-05/0.1968, allocations: 19.92 kB / 0.7866 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.372e-05/0.1968, allocations: 3.938 kB / 0.7866 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1968, allocations: 4 kB / 0.7866 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002939/0.1971, allocations: 107.8 kB / 0.7867 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.1972, allocations: 0 / 0.7867 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.1972, allocations: 19.92 kB / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.1975, allocations: 91.81 kB / 0.7868 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1975, allocations: 0 / 0.7868 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1975, allocations: 0 / 0.7868 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1975, allocations: 0 / 0.7868 GB, free: 1.102 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.0005632/0.1981, allocations: 385.1 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1981, allocations: 8.031 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.1982, allocations: 8.859 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.1983, allocations: 172.3 kB / 0.7874 GB, free: 456 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.1983, allocations: 8.375 kB / 0.7874 GB, free: 448 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.1984, allocations: 4.375 kB / 0.7874 GB, free: 444 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1985, allocations: 34.25 kB / 0.7874 GB, free: 404 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1985, allocations: 192 / 0.7874 GB, free: 404 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.1985, allocations: 3.938 kB / 0.7874 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1985, allocations: 0 / 0.7874 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.293e-05/0.1986, allocations: 7.984 kB / 0.7874 GB, free: 392 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.1988, allocations: 161.6 kB / 0.7876 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.1989, allocations: 42.53 kB / 0.7876 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.199, allocations: 12.86 kB / 0.7876 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.199, allocations: 0 / 0.7876 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.1991, allocations: 55.48 kB / 0.7877 GB, free: 44 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.1992, allocations: 0 / 0.7877 GB, free: 44 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.2982/0.4973, allocations: 68.19 kB / 0.7877 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.4974, allocations: 54.42 kB / 0.7878 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.646e-05/0.4975, allocations: 108.1 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.4975, allocations: 29.39 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.12e-05/0.4975, allocations: 84.55 kB / 0.788 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.4975, allocations: 12.59 kB / 0.788 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.4976, allocations: 21.36 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.318e-05/0.4976, allocations: 314.9 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.4976, allocations: 6.781 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.079e-05/0.4977, allocations: 37.17 kB / 0.7884 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.903e-05/0.4977, allocations: 46.17 kB / 0.7884 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4977, allocations: 2.625 kB / 0.7884 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.69e-05/0.4978, allocations: 68.88 kB / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.4979, allocations: 8.562 kB / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4979, allocations: 6.469 kB / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.4979, allocations: 2.781 kB / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.354e-05/0.498, allocations: 11.33 kB / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.498, allocations: 1 kB / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.675e-05/0.498, allocations: 2.656 kB / 0.7885 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.498, allocations: 4.562 kB / 0.7885 GB, free: 48.11 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.135e-05/0.4981, allocations: 111.5 kB / 0.7886 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.4981, allocations: 10.22 kB / 0.7886 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.4981, allocations: 7.281 kB / 0.7886 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4982, allocations: 6.359 kB / 0.7887 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4982, allocations: 3.75 kB / 0.7887 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.4982, allocations: 77.11 kB / 0.7887 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.4982, allocations: 3.094 kB / 0.7887 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.234e-05/0.4982, allocations: 0 / 0.7887 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.4983, allocations: 6.281 kB / 0.7887 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001028/0.4984, allocations: 136.1 kB / 0.7889 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001053/0.4985, allocations: 242.1 kB / 0.7891 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.901e-05/0.4985, allocations: 11.66 kB / 0.7891 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.848e-05/0.4985, allocations: 81.19 kB / 0.7892 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of Backend: time 4.4e-07/0.4985, allocations: 1.781 kB / 0.7892 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005681/0.4991, allocations: 175.5 kB / 0.7894 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0002244/0.4994, allocations: 0.5408 MB / 0.7899 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.002832/0.5022, allocations: 1.099 MB / 0.791 GB, free: 46.85 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 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)