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.001049/0.001049, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001/0.001, allocations: 192.6 kB / 16.14 MB, free: 6.707 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.428/1.428, allocations: 205.1 MB / 222 MB, free: 4.758 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.725/1.725, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001452/0.001452, allocations: 67.42 kB / 0.6709 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2083, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002277/0.2107, allocations: 1.294 MB / 0.784 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008253/0.2115, allocations: 460.4 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.895e-05/0.2115, allocations: 0 / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/0.2116, allocations: 3.938 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.849e-05/0.2116, allocations: 0 / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.2121, allocations: 95.78 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.1e-05/0.2121, allocations: 19.92 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.2122, allocations: 4 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.365e-05/0.2122, allocations: 15.91 kB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.751e-05/0.2122, allocations: 11.98 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.2122, allocations: 0 / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.2124, allocations: 95.91 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.2125, allocations: 11.92 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.2125, allocations: 11.94 kB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.2127, allocations: 103.7 kB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2127, allocations: 0 / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2127, allocations: 4 kB / 0.7848 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.2127, allocations: 4 kB / 0.7848 GB, free: 11.78 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.0004596/0.2132, allocations: 381.4 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2132, allocations: 8.031 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.15e-05/0.2133, allocations: 42.73 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.2133, allocations: 4.844 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2134, allocations: 164.4 kB / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.2135, allocations: 384 / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.2135, allocations: 8.375 kB / 0.7854 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.2136, allocations: 46.23 kB / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2136, allocations: 3.938 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.2136, allocations: 3.984 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2137, allocations: 3.938 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.64e-05/0.2137, allocations: 8 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.214, allocations: 248.9 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.445e-05/0.2141, allocations: 42.5 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.363e-05/0.2142, allocations: 20.92 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/0.2142, allocations: 0 / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.2143, allocations: 67.33 kB / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.2143, allocations: 3.938 kB / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0002215/0.2145, allocations: 81.58 kB / 0.7859 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.2146, allocations: 55.41 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.131e-05/0.2147, allocations: 105.8 kB / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.2147, allocations: 25.7 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.2147, allocations: 84.14 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.2148, allocations: 19.8 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.2148, allocations: 25.7 kB / 0.7862 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.838e-05/0.2149, allocations: 314.8 kB / 0.7865 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.2149, allocations: 11.98 kB / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.192e-05/0.215, allocations: 48.3 kB / 0.7866 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.604e-05/0.215, allocations: 56.22 kB / 0.7866 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2151, allocations: 3.938 kB / 0.7867 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001144/0.2152, allocations: 81.56 kB / 0.7867 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2152, allocations: 11.98 kB / 0.7867 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2152, allocations: 0 / 0.7867 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2152, allocations: 0 / 0.7867 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-05/0.2153, allocations: 12 kB / 0.7868 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2153, allocations: 0 / 0.7868 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.976e-05/0.2153, allocations: 7.906 kB / 0.7868 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.2154, allocations: 0 / 0.7868 GB, free: 9.543 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 8.256e-05/0.2154, allocations: 129.8 kB / 0.7869 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.2155, allocations: 7.984 kB / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.2155, allocations: 7.969 kB / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2155, allocations: 0 / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2155, allocations: 0 / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2155, allocations: 0 / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.2158, allocations: 303.1 kB / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2158, allocations: 0 / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.2158, allocations: 11.94 kB / 0.7872 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2158, allocations: 4.156 kB / 0.7872 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.2158, allocations: 8 kB / 0.7872 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2159, allocations: 4.125 kB / 0.7872 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2159, allocations: 3.984 kB / 0.7872 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.216, allocations: 175.3 kB / 0.7874 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.2161, allocations: 77.11 kB / 0.7875 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.2161, allocations: 4 kB / 0.7875 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.378e-05/0.2162, allocations: 3.984 kB / 0.7875 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.2162, allocations: 4 kB / 0.7875 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.2162, allocations: 4 kB / 0.7875 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.835e-05/0.2162, allocations: 83.28 kB / 0.7876 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2162, allocations: 0 / 0.7876 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002785/0.2165, allocations: 39.92 kB / 0.7876 GB, free: 8.586 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.0006683/0.2172, allocations: 0.7773 MB / 0.7884 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.2173, allocations: 43.91 kB / 0.7884 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2173, allocations: 0 / 0.7884 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.302e-05/0.2174, allocations: 20 kB / 0.7884 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.2176, allocations: 3.234 kB / 0.7884 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.2187, allocations: 1.318 MB / 0.7897 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.2189, allocations: 0.6848 MB / 0.7904 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.244e-05/0.219, allocations: 0 / 0.7904 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.219, allocations: 19.42 kB / 0.7904 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.219, allocations: 0 / 0.7904 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01155/0.2306, allocations: 1.93 MB / 0.7923 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.2308, allocations: 243.7 kB / 0.7925 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.05, allocations: 0 / 0.7925 GB, free: 3.48 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)