Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.00111/0.00111, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001061/0.001061, allocations: 195.2 kB / 16.25 MB, free: 6.629 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.345/1.345, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.644/1.644, 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.001474/0.001474, allocations: 65.52 kB / 0.6711 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2023, allocations: 114.6 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002132/0.2045, allocations: 1.282 MB / 0.7842 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007473/0.2052, allocations: 428.6 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.2053, allocations: 0 / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.2053, allocations: 0 / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.62e-05/0.2053, allocations: 7.938 kB / 0.7846 GB, free: 12.09 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.0004223/0.2058, allocations: 91.78 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.723e-05/0.2058, allocations: 23.92 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.445e-05/0.2059, allocations: 0 / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.881e-05/0.2059, allocations: 8 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.482e-05/0.2059, allocations: 11.92 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.2059, allocations: 3.938 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.2061, allocations: 103.8 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.2062, allocations: 4 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.2062, allocations: 11.92 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.2063, allocations: 95.81 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2063, allocations: 4 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2064, allocations: 0 / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.2064, allocations: 0 / 0.785 GB, free: 11.73 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.0004043/0.2068, allocations: 381.4 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.2068, allocations: 8.031 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.982e-05/0.2069, allocations: 34.75 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.2069, allocations: 0.9375 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.207, allocations: 180.2 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.207, allocations: 4.375 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.207, allocations: 4.375 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.047e-05/0.2071, allocations: 38.25 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2071, allocations: 3.938 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.2072, allocations: 0 / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.2072, allocations: 0 / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.834e-05/0.2072, allocations: 7.984 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002689/0.2075, allocations: 249 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.942e-05/0.2076, allocations: 38.45 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.474e-05/0.2076, allocations: 20.94 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.01e-06/0.2076, allocations: 0 / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/0.2077, allocations: 55.39 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 2.524e-06/0.2078, allocations: 4 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0001949/0.208, allocations: 81.55 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.208, allocations: 55.41 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.602e-05/0.2081, allocations: 101.8 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.2081, allocations: 25.7 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.2081, allocations: 80.14 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.2082, allocations: 19.75 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.2082, allocations: 21.7 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2083, allocations: 318.8 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.057e-05/0.2084, allocations: 12.23 kB / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.561e-05/0.2084, allocations: 31.44 kB / 0.7867 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.524e-05/0.2085, allocations: 55.36 kB / 0.7867 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2085, allocations: 3.938 kB / 0.7867 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.451e-05/0.2086, allocations: 69.62 kB / 0.7868 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2086, allocations: 11.94 kB / 0.7868 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2086, allocations: 0 / 0.7868 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2086, allocations: 3.984 kB / 0.7868 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.596e-05/0.2087, allocations: 11.94 kB / 0.7868 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2087, allocations: 0 / 0.7868 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.624e-05/0.2087, allocations: 11.91 kB / 0.7868 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.2088, allocations: 4 kB / 0.7868 GB, free: 9.559 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 6.763e-05/0.2088, allocations: 116.7 kB / 0.787 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.2088, allocations: 4 kB / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.109e-05/0.2089, allocations: 11.55 kB / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2089, allocations: 0 / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2089, allocations: 0 / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2089, allocations: 0 / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.2091, allocations: 298.5 kB / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2091, allocations: 0 / 0.7873 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.774e-05/0.2092, allocations: 7.984 kB / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2092, allocations: 4 kB / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.2092, allocations: 0 / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2092, allocations: 0 / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2092, allocations: 4 kB / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.2093, allocations: 167.3 kB / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.2094, allocations: 81.11 kB / 0.7875 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.2094, allocations: 0 / 0.7875 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.877e-05/0.2094, allocations: 4.062 kB / 0.7875 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.743e-05/0.2095, allocations: 8 kB / 0.7875 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.2095, allocations: 4.281 kB / 0.7875 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.2095, allocations: 91.25 kB / 0.7876 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2095, allocations: 0 / 0.7876 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002643/0.2098, allocations: 35.94 kB / 0.7876 GB, free: 8.637 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.0006403/0.2104, allocations: 0.7877 MB / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.2106, allocations: 35.92 kB / 0.7884 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.2106, allocations: 0 / 0.7884 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.411e-05/0.2106, allocations: 12 kB / 0.7885 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.2108, allocations: 4 kB / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009577/0.2118, allocations: 1.273 MB / 0.7897 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.212, allocations: 0.6806 MB / 0.7904 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.76e-05/0.212, allocations: 4 kB / 0.7904 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.212, allocations: 11.44 kB / 0.7904 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.212, allocations: 4 kB / 0.7904 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01073/0.2228, allocations: 1.896 MB / 0.7922 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.223, allocations: 236.8 kB / 0.7925 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/1.982, allocations: 0 / 0.7925 GB, free: 3.645 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)