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.001244/0.001245, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001113/0.001113, allocations: 190.7 kB / 16.25 MB, free: 6.621 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.348/1.348, allocations: 205.1 MB / 222.1 MB, free: 4.621 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.631/1.631, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001432/0.001432, allocations: 65.28 kB / 0.6711 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.212, allocations: 114.5 MB / 0.783 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002638/0.2147, allocations: 1.304 MB / 0.7842 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008692/0.2156, allocations: 460.4 kB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.466e-05/0.2156, allocations: 0 / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.2157, allocations: 0 / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.515e-05/0.2157, allocations: 0 / 0.7847 GB, free: 12.08 MB / 0.6075 GB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.2163, allocations: 107.7 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.313e-05/0.2164, allocations: 19.98 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.2164, allocations: 0 / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.302e-05/0.2164, allocations: 11.94 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.667e-05/0.2165, allocations: 7.984 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.2165, allocations: 0 / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.2167, allocations: 107.8 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.2167, allocations: 11.92 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.2168, allocations: 11.94 kB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.217, allocations: 95.8 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.217, allocations: 4 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.217, allocations: 0 / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.217, allocations: 0 / 0.785 GB, free: 11.71 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.000473/0.2175, allocations: 381.4 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.2175, allocations: 12.03 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.869e-05/0.2176, allocations: 34.75 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.2176, allocations: 8.844 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.2177, allocations: 168.3 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.2178, allocations: 4.375 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.2178, allocations: 4.375 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.2179, allocations: 42.25 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2179, allocations: 3.938 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.2179, allocations: 0 / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2179, allocations: 0 / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.592e-05/0.218, allocations: 7.984 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.2183, allocations: 252.9 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.171e-05/0.2184, allocations: 42.5 kB / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.839e-05/0.2185, allocations: 16.86 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.2185, allocations: 0 / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.2186, allocations: 59.48 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.2186, allocations: 3.938 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002153/0.2189, allocations: 81.52 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.2189, allocations: 55.41 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.158e-05/0.219, allocations: 105.8 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.219, allocations: 29.64 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.2191, allocations: 84.14 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.2191, allocations: 15.81 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.2192, allocations: 17.72 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.2193, allocations: 322.8 kB / 0.7867 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.2193, allocations: 8.5 kB / 0.7867 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.698e-05/0.2193, allocations: 35.42 kB / 0.7867 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6e-05/0.2194, allocations: 51.38 kB / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.2194, allocations: 3.938 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001028/0.2195, allocations: 85.53 kB / 0.7869 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2195, allocations: 8 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2195, allocations: 0 / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.2196, allocations: 0 / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.689e-05/0.2196, allocations: 12 kB / 0.7869 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.2196, allocations: 7.984 kB / 0.7869 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.2197, allocations: 0 / 0.7869 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.2197, allocations: 4 kB / 0.7869 GB, free: 9.516 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.298e-05/0.2198, allocations: 114.4 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.2198, allocations: 11.97 kB / 0.787 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.2198, allocations: 3.969 kB / 0.787 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2198, allocations: 3.938 kB / 0.787 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2198, allocations: 4 kB / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2198, allocations: 0 / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.2201, allocations: 306.5 kB / 0.7873 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2201, allocations: 0 / 0.7873 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-05/0.2201, allocations: 0 / 0.7873 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2201, allocations: 4 kB / 0.7873 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.2201, allocations: 7.984 kB / 0.7873 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2201, allocations: 0 / 0.7873 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2201, allocations: 0 / 0.7873 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.2203, allocations: 163.3 kB / 0.7875 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.2203, allocations: 89.05 kB / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.2204, allocations: 7.922 kB / 0.7876 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.144e-05/0.2204, allocations: 0 / 0.7876 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.2204, allocations: 0 / 0.7876 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.2205, allocations: 8.125 kB / 0.7876 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.775e-05/0.2205, allocations: 91.27 kB / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2205, allocations: 0 / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002832/0.2208, allocations: 35.88 kB / 0.7877 GB, free: 8.578 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.0006541/0.2215, allocations: 0.7699 MB / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.2216, allocations: 36.11 kB / 0.7885 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2216, allocations: 0 / 0.7885 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.835e-05/0.2216, allocations: 8 kB / 0.7885 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.2218, allocations: 10.67 kB / 0.7885 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.2229, allocations: 1.3 MB / 0.7898 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.2231, allocations: 0.6807 MB / 0.7905 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.2231, allocations: 0 / 0.7905 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.2232, allocations: 19.44 kB / 0.7905 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of SimCode: time 1.573e-06/0.2232, allocations: 3.938 kB / 0.7905 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01114/0.2343, allocations: 1.978 MB / 0.7924 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.2345, allocations: 251.9 kB / 0.7927 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/1.916, allocations: 0 / 0.7927 GB, free: 3.504 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)