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.001668/0.001668, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 187.9 kB / 16.62 MB, free: 6.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.682/1.682, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.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.807/1.807, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001515/0.001515, allocations: 67.42 kB / 0.6722 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2501, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002763/0.2529, allocations: 1.239 MB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009877/0.2539, allocations: 455.4 kB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.254, allocations: 3.938 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.254, allocations: 7.938 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.2541, allocations: 0 / 0.7858 GB, free: 11.05 MB / 0.6075 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.0006353/0.2547, allocations: 115.6 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.43e-05/0.2548, allocations: 19.98 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.2548, allocations: 0 / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.361e-05/0.2549, allocations: 15.92 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.956e-05/0.2549, allocations: 11.88 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.2549, allocations: 0 / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.2551, allocations: 99.89 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.2552, allocations: 15.92 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.2552, allocations: 11.92 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.2554, allocations: 99.81 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2554, allocations: 3.938 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2554, allocations: 0 / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.2555, allocations: 0 / 0.7861 GB, free: 10.66 MB / 0.6075 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.0005659/0.256, allocations: 381.1 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.2561, allocations: 12.03 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.2561, allocations: 0.9375 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.2563, allocations: 172.3 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.2563, allocations: 4.375 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.2563, allocations: 384 / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.2565, allocations: 42.25 kB / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2565, allocations: 192 / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.2565, allocations: 3.938 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2565, allocations: 0 / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.898e-05/0.2566, allocations: 7.984 kB / 0.7867 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.2567, allocations: 157.6 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.152e-05/0.2568, allocations: 34.61 kB / 0.7869 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.2569, allocations: 16.86 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.2569, allocations: 0 / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.2571, allocations: 55.48 kB / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.2571, allocations: 0 / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002234/0.2573, allocations: 69.56 kB / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.2574, allocations: 63.39 kB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.2575, allocations: 101.8 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.2575, allocations: 29.7 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.2576, allocations: 92.06 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.2577, allocations: 7.844 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.2577, allocations: 21.72 kB / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002306/0.2579, allocations: 318.8 kB / 0.7877 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.258, allocations: 4 kB / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.845e-05/0.258, allocations: 39.42 kB / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.2581, allocations: 43.38 kB / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2581, allocations: 0 / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001138/0.2583, allocations: 73.62 kB / 0.7878 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2583, allocations: 11.94 kB / 0.7878 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2583, allocations: 240 / 0.7878 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.2583, allocations: 3.938 kB / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.07e-05/0.2584, allocations: 11.98 kB / 0.7878 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2584, allocations: 4.141 kB / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.032e-05/0.2584, allocations: 7.906 kB / 0.7879 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.2584, allocations: 3.984 kB / 0.7879 GB, free: 8.645 MB / 0.6075 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.235e-05/0.2585, allocations: 114.1 kB / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.2586, allocations: 7.969 kB / 0.788 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.2586, allocations: 7.906 kB / 0.788 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2586, allocations: 4 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2586, allocations: 0 / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2586, allocations: 7.922 kB / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.2587, allocations: 157.7 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2587, allocations: 0 / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.695e-05/0.2588, allocations: 4 kB / 0.7881 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2588, allocations: 3.938 kB / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.2588, allocations: 0 / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2588, allocations: 0 / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2588, allocations: 4 kB / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.2589, allocations: 85.11 kB / 0.7882 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.259, allocations: 81.02 kB / 0.7883 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.259, allocations: 7.938 kB / 0.7883 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.265e-05/0.259, allocations: 4 kB / 0.7883 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.2591, allocations: 3.984 kB / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.2591, allocations: 0 / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.253e-05/0.2591, allocations: 87.28 kB / 0.7884 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2591, allocations: 3.938 kB / 0.7884 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002582/0.2594, allocations: 39.98 kB / 0.7885 GB, free: 7.93 MB / 0.6075 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.0003781/0.2598, allocations: 157.9 kB / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.2599, allocations: 32.02 kB / 0.7886 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2599, allocations: 4.188 kB / 0.7886 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.257e-05/0.26, allocations: 15.92 kB / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.2601, allocations: 11.94 kB / 0.7887 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.2604, allocations: 108.9 kB / 0.7888 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.2607, allocations: 0.6768 MB / 0.7894 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.2607, allocations: 4.25 kB / 0.7894 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.2607, allocations: 7.438 kB / 0.7894 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.2607, allocations: 4 kB / 0.7894 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of Templates: time 0.003606/0.2643, allocations: 1.074 MB / 0.7905 GB, free: 5.793 MB / 0.6075 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)