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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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.001405/0.001405, 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.001374/0.001374, allocations: 194.5 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.309/1.309, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.624/1.624, allocations: 292.3 MB / 0.5489 GB, free: 13.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.001497/0.001497, allocations: 66.95 kB / 0.6716 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1938, allocations: 114.5 MB / 0.7835 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002787/0.1966, allocations: 1.243 MB / 0.7847 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008333/0.1975, allocations: 463.2 kB / 0.7851 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.1975, allocations: 0 / 0.7851 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.349e-05/0.1975, allocations: 0 / 0.7851 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.451e-05/0.1976, allocations: 3.938 kB / 0.7851 GB, free: 11.8 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.0005467/0.1982, allocations: 119.6 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.052e-05/0.1982, allocations: 12 kB / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.1983, allocations: 11.98 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.195e-05/0.1983, allocations: 8 kB / 0.7853 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.629e-05/0.1983, allocations: 11.92 kB / 0.7853 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.1983, allocations: 0 / 0.7853 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.1985, allocations: 99.84 kB / 0.7854 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.1986, allocations: 11.91 kB / 0.7854 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.1986, allocations: 15.94 kB / 0.7854 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.1989, allocations: 95.8 kB / 0.7855 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1989, allocations: 4 kB / 0.7855 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1989, allocations: 0 / 0.7855 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.1989, allocations: 7.938 kB / 0.7855 GB, free: 11.41 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.0004384/0.1994, allocations: 381.4 kB / 0.7859 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1994, allocations: 8.031 kB / 0.7859 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.073e-05/0.1995, allocations: 34.75 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.1995, allocations: 8.781 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1996, allocations: 172.4 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1996, allocations: 4.375 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.1996, allocations: 4.375 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.404e-05/0.1997, allocations: 38.25 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1998, allocations: 3.938 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.1998, allocations: 0 / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1998, allocations: 4 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.445e-05/0.1998, allocations: 7.984 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.2001, allocations: 252.9 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/0.2002, allocations: 38.5 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.941e-05/0.2003, allocations: 16.84 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.2003, allocations: 4 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.2005, allocations: 59.48 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.492e-06/0.2005, allocations: 0 / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002005/0.2007, allocations: 77.53 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.2007, allocations: 55.41 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.103e-05/0.2008, allocations: 109.8 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.2008, allocations: 29.7 kB / 0.7867 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.2009, allocations: 84.12 kB / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.311e-05/0.201, allocations: 15.81 kB / 0.7868 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.201, allocations: 17.72 kB / 0.7869 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.2011, allocations: 318.8 kB / 0.7872 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.2012, allocations: 12.5 kB / 0.7872 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.629e-05/0.2012, allocations: 35.42 kB / 0.7872 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.984e-05/0.2013, allocations: 43.38 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2013, allocations: 7.938 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001067/0.2014, allocations: 81.55 kB / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2014, allocations: 4.938 kB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2014, allocations: 4 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.2014, allocations: 0 / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.719e-05/0.2015, allocations: 8 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.2015, allocations: 0 / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.913e-05/0.2015, allocations: 8 kB / 0.7874 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.2015, allocations: 0 / 0.7874 GB, free: 9.234 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 (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 (8): * Single equations (assignments): 8 * 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.571e-05/0.2016, allocations: 125.7 kB / 0.7875 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.2017, allocations: 15.91 kB / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.2017, allocations: 3.969 kB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2017, allocations: 0 / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2017, allocations: 0 / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2017, allocations: 0 / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.202, allocations: 302.5 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.202, allocations: 0 / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.202, allocations: 4 kB / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.202, allocations: 0 / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.202, allocations: 4 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.202, allocations: 8.156 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.202, allocations: 0 / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.2022, allocations: 167.3 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.2022, allocations: 81.05 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.2023, allocations: 4 kB / 0.788 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.426e-05/0.2023, allocations: 7.984 kB / 0.788 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/0.2023, allocations: 0 / 0.788 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.2024, allocations: 7.938 kB / 0.7881 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001296/0.2025, allocations: 87.41 kB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2025, allocations: 0 / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002812/0.2028, allocations: 39.92 kB / 0.7882 GB, free: 8.289 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 (5): * Single equations (assignments): 3 * 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.0007435/0.2035, allocations: 0.7771 MB / 0.7889 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.2037, allocations: 35.92 kB / 0.789 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2037, allocations: 0 / 0.789 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.981e-05/0.2037, allocations: 15.98 kB / 0.789 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.2039, allocations: 4 kB / 0.789 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.2051, allocations: 1.281 MB / 0.7902 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.2053, allocations: 0.6846 MB / 0.7909 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.159e-05/0.2054, allocations: 7.922 kB / 0.7909 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.2054, allocations: 11.44 kB / 0.7909 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/0.2054, allocations: 4 kB / 0.7909 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.2231, allocations: 2.052 MB / 0.7929 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.479/7.702, allocations: 9.438 kB / 0.7929 GB, free: 3.355 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)