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.001364/0.001364, allocations: 115.7 kB / 16.38 MB, free: 6.012 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.001471/0.001471, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.443/1.443, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.84/1.84, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001453/0.001453, allocations: 68.11 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2865, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002658/0.2892, allocations: 1.232 MB / 0.786 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.2902, allocations: 463.2 kB / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.2903, allocations: 0 / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.2903, allocations: 0 / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.384e-05/0.2904, allocations: 3.938 kB / 0.7864 GB, free: 1.473 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.000655/0.291, allocations: 119.6 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.174e-05/0.2911, allocations: 19.98 kB / 0.7866 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.2912, allocations: 0 / 0.7866 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.791e-05/0.2912, allocations: 11.94 kB / 0.7866 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.461e-05/0.2912, allocations: 15.92 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.2913, allocations: 0 / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.2915, allocations: 107.8 kB / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.2915, allocations: 7.984 kB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.2916, allocations: 7.938 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.2918, allocations: 99.8 kB / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2918, allocations: 0 / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2918, allocations: 3.938 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2918, allocations: 0 / 0.7868 GB, free: 1.086 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.0005603/0.2924, allocations: 385.1 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2924, allocations: 12.03 kB / 0.7872 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.2925, allocations: 0.9375 kB / 0.7872 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.2926, allocations: 172.2 kB / 0.7873 GB, free: 444 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.2926, allocations: 8.359 kB / 0.7874 GB, free: 436 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.2927, allocations: 384 / 0.7874 GB, free: 436 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.2928, allocations: 38.25 kB / 0.7874 GB, free: 392 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.2928, allocations: 192 / 0.7874 GB, free: 392 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.2928, allocations: 3.938 kB / 0.7874 GB, free: 388 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.2928, allocations: 7.922 kB / 0.7874 GB, free: 380 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.235e-05/0.2929, allocations: 8 kB / 0.7874 GB, free: 372 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.2931, allocations: 161.7 kB / 0.7876 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.696e-05/0.2931, allocations: 30.52 kB / 0.7876 GB, free: 120 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.2932, allocations: 16.94 kB / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.2932, allocations: 0 / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.2933, allocations: 55.41 kB / 0.7877 GB, free: 32 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.2933, allocations: 0 / 0.7877 GB, free: 32 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.4396/0.7329, allocations: 68.16 kB / 0.7877 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.733, allocations: 57.03 kB / 0.7878 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.66e-05/0.7331, allocations: 103.3 kB / 0.7879 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.7331, allocations: 27.55 kB / 0.7879 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.7332, allocations: 84.62 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.7332, allocations: 13.84 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.7333, allocations: 22.77 kB / 0.788 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.196e-05/0.7333, allocations: 316.3 kB / 0.7883 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.7333, allocations: 10.56 kB / 0.7883 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/0.7334, allocations: 34.45 kB / 0.7884 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.428e-05/0.7334, allocations: 45.23 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.7335, allocations: 0 / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001017/0.7336, allocations: 72.97 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.7336, allocations: 10.25 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.7336, allocations: 0 / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.7336, allocations: 4.625 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.901e-05/0.7337, allocations: 8.797 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.7337, allocations: 0 / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.047e-05/0.7338, allocations: 6.938 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.7338, allocations: 4.812 kB / 0.7885 GB, free: 48.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 7.123e-05/0.7339, allocations: 111.3 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.7339, allocations: 6.594 kB / 0.7886 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.7339, allocations: 12.88 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.7339, allocations: 0.6562 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.7339, allocations: 1.938 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.7339, allocations: 0 / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.488e-05/0.734, allocations: 155.2 kB / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.7341, allocations: 2.625 kB / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.451e-05/0.7341, allocations: 8.078 kB / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.7341, allocations: 5.719 kB / 0.7888 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.7341, allocations: 0.5625 kB / 0.7888 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.7341, allocations: 3.656 kB / 0.7888 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7341, allocations: 0 / 0.7888 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.7342, allocations: 90.92 kB / 0.7889 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.7343, allocations: 81.55 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.7343, allocations: 10.23 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.132e-05/0.7343, allocations: 2.531 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.7343, allocations: 0.5 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.7343, allocations: 4.875 kB / 0.789 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.406e-05/0.7344, allocations: 83.47 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7344, allocations: 3.125 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002832/0.7347, allocations: 36.64 kB / 0.7891 GB, free: 47.61 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.0003336/0.735, allocations: 167.2 kB / 0.7893 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.7351, allocations: 30.45 kB / 0.7893 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.7352, allocations: 0 / 0.7893 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.849e-05/0.7352, allocations: 20.06 kB / 0.7893 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.7353, allocations: 0.5469 kB / 0.7893 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002294/0.7356, allocations: 136.4 kB / 0.7894 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.7357, allocations: 0.6837 MB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.7357, allocations: 10.06 kB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of SimCode: time 1.072e-06/0.7357, allocations: 0 / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.002875/0.7386, allocations: 1.263 MB / 0.7914 GB, free: 46.64 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)