Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 108 kB / 15.6 MB, free: 132 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.00189/0.00189, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.332/1.332, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.641/1.641, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001462/0.001462, allocations: 66.98 kB / 0.6716 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2171, allocations: 114.6 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.00248/0.2196, allocations: 1.231 MB / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008469/0.2205, allocations: 443.4 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.2205, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.2206, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.944e-05/0.2206, allocations: 7.875 kB / 0.7851 GB, free: 11.71 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/logit2D.mo:2:1-36:12:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.logit2D' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0005248/0.2211, allocations: 114.3 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.599e-05/0.2212, allocations: 23.92 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.2213, allocations: 4 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.515e-05/0.2213, allocations: 15.98 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.014e-05/0.2213, allocations: 7.922 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.2213, allocations: 4 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.2215, allocations: 107.8 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.2216, allocations: 7.984 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.2216, allocations: 11.88 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.2218, allocations: 107.7 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2218, allocations: 0 / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2218, allocations: 0 / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.2218, allocations: 0 / 0.7855 GB, free: 11.31 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004487/0.2223, allocations: 389.4 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2223, allocations: 12.03 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.361e-05/0.2224, allocations: 34.73 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.2224, allocations: 8.844 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.2225, allocations: 160.4 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.2226, allocations: 384 / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.2226, allocations: 8.375 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.2227, allocations: 50.17 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.2227, allocations: 7.938 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.2227, allocations: 0 / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2227, allocations: 0 / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.573e-05/0.2228, allocations: 8 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.2231, allocations: 248.9 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.238e-05/0.2232, allocations: 38.44 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.2232, allocations: 20.98 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.2232, allocations: 0 / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.2234, allocations: 59.39 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.2234, allocations: 0 / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0002047/0.2236, allocations: 81.58 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.2237, allocations: 63.34 kB / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.123e-05/0.2238, allocations: 105.8 kB / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.2238, allocations: 25.7 kB / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.2238, allocations: 84.14 kB / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.2239, allocations: 19.73 kB / 0.7868 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.2239, allocations: 25.7 kB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.224, allocations: 314.8 kB / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.224, allocations: 11.98 kB / 0.7872 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.117e-05/0.2241, allocations: 40.3 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.062e-05/0.2241, allocations: 64.7 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.2242, allocations: 3.938 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001063/0.2243, allocations: 77.62 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2243, allocations: 12.02 kB / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2243, allocations: 192 / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.2243, allocations: 8 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.2244, allocations: 11.94 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.2244, allocations: 3.938 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.2244, allocations: 11.91 kB / 0.7874 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.2245, allocations: 4 kB / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.699e-05/0.2245, allocations: 121.7 kB / 0.7875 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.2246, allocations: 3.984 kB / 0.7875 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.2246, allocations: 7.969 kB / 0.7875 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2246, allocations: 0 / 0.7875 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2246, allocations: 4 kB / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2246, allocations: 0 / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.2249, allocations: 310.5 kB / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2249, allocations: 0 / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-05/0.2249, allocations: 4 kB / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2249, allocations: 0 / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.2249, allocations: 0 / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2249, allocations: 4 kB / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2249, allocations: 0 / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.2251, allocations: 171.4 kB / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.2252, allocations: 81.11 kB / 0.7881 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.2252, allocations: 0 / 0.7881 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.227e-05/0.2252, allocations: 7.984 kB / 0.7881 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.2253, allocations: 4 kB / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.2253, allocations: 3.938 kB / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.311e-05/0.2253, allocations: 87.41 kB / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.603e-06/0.2253, allocations: 0 / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000286/0.2256, allocations: 43.86 kB / 0.7882 GB, free: 8.125 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0007859/0.2264, allocations: 0.779 MB / 0.789 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.2266, allocations: 43.91 kB / 0.789 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2266, allocations: 0 / 0.789 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.262e-05/0.2266, allocations: 19.94 kB / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.2269, allocations: 8 kB / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.228, allocations: 1.302 MB / 0.7903 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.2283, allocations: 0.6768 MB / 0.791 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.277e-05/0.2283, allocations: 8 kB / 0.791 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.2283, allocations: 15.42 kB / 0.791 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2284, allocations: 0 / 0.791 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.2521, allocations: 2.056 MB / 0.793 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.437/7.689, allocations: 0 / 0.793 GB, free: 3.141 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)