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.001073/0.001073, allocations: 100.5 kB / 16.27 MB, free: 6.418 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.001099/0.001099, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.49/1.49, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.841/1.841, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.00145/0.00145, allocations: 67.89 kB / 0.6721 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2513, allocations: 114.5 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002285/0.2536, allocations: 1.229 MB / 0.7852 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008918/0.2545, allocations: 463.3 kB / 0.7857 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.874e-05/0.2546, allocations: 0 / 0.7857 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.2546, allocations: 3.938 kB / 0.7857 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.2546, allocations: 3.938 kB / 0.7857 GB, free: 2.148 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.0005679/0.2552, allocations: 111.6 kB / 0.7858 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.186e-05/0.2553, allocations: 15.98 kB / 0.7858 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.2553, allocations: 7.938 kB / 0.7858 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.332e-05/0.2554, allocations: 11.98 kB / 0.7858 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.905e-05/0.2554, allocations: 11.94 kB / 0.7858 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.2554, allocations: 0 / 0.7858 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.2556, allocations: 103.9 kB / 0.7859 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.2557, allocations: 7.984 kB / 0.7859 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.2557, allocations: 11.88 kB / 0.7859 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.2559, allocations: 107.7 kB / 0.786 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2559, allocations: 0 / 0.786 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2559, allocations: 0 / 0.786 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.2559, allocations: 0 / 0.786 GB, free: 1.766 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.0006062/0.2566, allocations: 389.4 kB / 0.7864 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.2566, allocations: 8.031 kB / 0.7864 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.2566, allocations: 4.938 kB / 0.7864 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.2568, allocations: 168.2 kB / 0.7866 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.2568, allocations: 384 / 0.7866 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.2568, allocations: 4.375 kB / 0.7866 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.2569, allocations: 38.25 kB / 0.7866 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.257, allocations: 4.172 kB / 0.7866 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.257, allocations: 3.938 kB / 0.7866 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.257, allocations: 11.98 kB / 0.7866 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.42e-05/0.257, allocations: 7.938 kB / 0.7866 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.2572, allocations: 153.7 kB / 0.7868 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.546e-05/0.2573, allocations: 30.61 kB / 0.7868 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.2573, allocations: 12.86 kB / 0.7868 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.2573, allocations: 0 / 0.7868 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.2575, allocations: 59.48 kB / 0.7869 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2576, allocations: 4 kB / 0.7869 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002319/0.2578, allocations: 73.55 kB / 0.787 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.2578, allocations: 51.41 kB / 0.787 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.924e-05/0.2579, allocations: 109.8 kB / 0.7871 GB, free: 464 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.2579, allocations: 25.7 kB / 0.7871 GB, free: 432 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.258, allocations: 84.14 kB / 0.7872 GB, free: 344 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.258, allocations: 19.75 kB / 0.7872 GB, free: 324 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.2581, allocations: 21.66 kB / 0.7873 GB, free: 296 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.4604/0.7184, allocations: 322.8 kB / 0.7876 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.258e-05/0.7186, allocations: 1.25 kB / 0.7876 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.558e-05/0.7186, allocations: 30.28 kB / 0.7876 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.626e-05/0.7187, allocations: 49.59 kB / 0.7876 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.7187, allocations: 1.094 kB / 0.7877 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001395/0.7188, allocations: 72.77 kB / 0.7877 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.7189, allocations: 6.406 kB / 0.7877 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.7189, allocations: 0 / 0.7877 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.7189, allocations: 4.141 kB / 0.7877 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.688e-05/0.719, allocations: 5.812 kB / 0.7877 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.719, allocations: 6.781 kB / 0.7877 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/0.7191, allocations: 2.906 kB / 0.7877 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.7191, allocations: 2.406 kB / 0.7877 GB, free: 48.35 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.653e-05/0.7192, allocations: 115.8 kB / 0.7879 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.7192, allocations: 6.281 kB / 0.7879 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.7192, allocations: 5.203 kB / 0.7879 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.7193, allocations: 0.8438 kB / 0.7879 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7193, allocations: 6.688 kB / 0.7879 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.7193, allocations: 2.438 kB / 0.7879 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.973e-05/0.7194, allocations: 163.3 kB / 0.788 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.7194, allocations: 0 / 0.788 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.257e-05/0.7194, allocations: 0.6562 kB / 0.788 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.7194, allocations: 5.25 kB / 0.788 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.7194, allocations: 2.391 kB / 0.788 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7194, allocations: 0 / 0.788 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.7194, allocations: 7.219 kB / 0.788 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.7196, allocations: 85.45 kB / 0.7881 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.7196, allocations: 83.92 kB / 0.7882 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.7196, allocations: 4.781 kB / 0.7882 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.297e-05/0.7197, allocations: 0 / 0.7882 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.7197, allocations: 6.656 kB / 0.7882 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.7197, allocations: 2 kB / 0.7882 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.601e-05/0.7197, allocations: 88.45 kB / 0.7883 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7197, allocations: 0 / 0.7883 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003301/0.7201, allocations: 33.08 kB / 0.7883 GB, free: 47.8 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.0003599/0.7204, allocations: 168.1 kB / 0.7885 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.7206, allocations: 27.02 kB / 0.7885 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7206, allocations: 0.5938 kB / 0.7885 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.051e-05/0.7206, allocations: 19.33 kB / 0.7885 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.7208, allocations: 10.31 kB / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.721, allocations: 127 kB / 0.7887 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.7212, allocations: 0.6845 MB / 0.7893 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.692e-05/0.7212, allocations: 7.438 kB / 0.7893 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.7212, allocations: 1.625 kB / 0.7894 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.002783/0.724, allocations: 1.258 MB / 0.7906 GB, free: 46.83 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)