Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 252 MB / 267 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 186.3 kB / 326.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.4 MB / 0.5777 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001261/0.001262, allocations: 91.42 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002968, allocations: 9.469 kB / 0.7964 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2065, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.00124/0.2078, allocations: 0.9462 MB / 0.9012 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006682/0.2085, allocations: 417.1 kB / 0.9016 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.236e-05/0.2085, allocations: 0 / 0.9016 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.2085, allocations: 0 / 0.9016 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.635e-05/0.2086, allocations: 0 / 0.9016 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.209, allocations: 99.66 kB / 0.9017 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.731e-05/0.209, allocations: 19.98 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.2091, allocations: 0 / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.972e-05/0.2091, allocations: 15.91 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.38e-05/0.2091, allocations: 8 kB / 0.9018 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.2092, allocations: 0 / 0.9018 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.2093, allocations: 99.83 kB / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.2093, allocations: 8 kB / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.2094, allocations: 33.62 kB / 0.9019 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.2095, allocations: 71.83 kB / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.2095, allocations: 4 kB / 0.902 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2095, allocations: 0 / 0.902 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.2095, allocations: 0 / 0.902 GB, free: 62.06 MB / 0.6042 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.0004038/0.2099, allocations: 370.4 kB / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.21, allocations: 12.03 kB / 0.9023 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.19e-05/0.21, allocations: 42.41 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.2101, allocations: 0 / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.949e-05/0.2102, allocations: 167 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.2102, allocations: 0 / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.2102, allocations: 11.98 kB / 0.9025 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.2103, allocations: 41.69 kB / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.2103, allocations: 0 / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.2103, allocations: 3.938 kB / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2104, allocations: 0 / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.407e-05/0.2104, allocations: 12 kB / 0.9026 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.2107, allocations: 256.9 kB / 0.9028 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.538e-05/0.2108, allocations: 30.58 kB / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.749e-05/0.2108, allocations: 20.97 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.2108, allocations: 0 / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000127/0.2109, allocations: 59.34 kB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.211, allocations: 0 / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0001848/0.2111, allocations: 89.52 kB / 0.903 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.2112, allocations: 51.41 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.113e-05/0.2112, allocations: 109.8 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.2112, allocations: 29.7 kB / 0.9032 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.835e-05/0.2113, allocations: 84.14 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.2113, allocations: 19.73 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.2113, allocations: 0 / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.238e-05/0.2113, allocations: 318.8 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.2114, allocations: 8 kB / 0.9036 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.05e-05/0.2114, allocations: 48.22 kB / 0.9037 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.809e-05/0.2114, allocations: 12 kB / 0.9037 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2114, allocations: 0 / 0.9037 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.239e-05/0.2115, allocations: 89.45 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.2116, allocations: 8.094 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2116, allocations: 96 / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2116, allocations: 7.984 kB / 0.9038 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.2116, allocations: 11.98 kB / 0.9038 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2117, allocations: 0 / 0.9038 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.097e-05/0.2117, allocations: 7.938 kB / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.2117, allocations: 7.953 kB / 0.9038 GB, free: 59.92 MB / 0.6042 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 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.303e-05/0.2118, allocations: 109.8 kB / 0.9039 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-06/0.2118, allocations: 4 kB / 0.9039 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.2118, allocations: 11.97 kB / 0.9039 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2118, allocations: 0 / 0.9039 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2118, allocations: 7.984 kB / 0.9039 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2118, allocations: 0 / 0.9039 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.212, allocations: 310.4 kB / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.212, allocations: 0.5625 kB / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.118e-05/0.2121, allocations: 8 kB / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2121, allocations: 0 / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2121, allocations: 0 / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2121, allocations: 8 kB / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2121, allocations: 0 / 0.9043 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.2122, allocations: 171.5 kB / 0.9044 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.2122, allocations: 77.11 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.2122, allocations: 7.938 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.175e-05/0.2123, allocations: 0 / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.2123, allocations: 3.984 kB / 0.9045 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.2123, allocations: 4 kB / 0.9045 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.194e-05/0.2124, allocations: 87.28 kB / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2124, allocations: 3.938 kB / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002733/0.2127, allocations: 39.88 kB / 0.9046 GB, free: 58.98 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004939/0.2132, allocations: 0.7749 MB / 0.9054 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.442e-05/0.2133, allocations: 35.92 kB / 0.9054 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2133, allocations: 0 / 0.9054 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.533e-05/0.2133, allocations: 24.23 kB / 0.9054 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.2135, allocations: 4 kB / 0.9054 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005776/0.2141, allocations: 450.2 kB / 0.9059 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.2142, allocations: 0.6809 MB / 0.9065 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.278e-05/0.2142, allocations: 7.984 kB / 0.9065 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.2143, allocations: 15.44 kB / 0.9066 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2143, allocations: 0 / 0.9066 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01123/0.2255, allocations: 1.874 MB / 0.9084 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/0.2257, allocations: 242.7 kB / 0.9086 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/1.779, allocations: 0 / 0.9086 GB, free: 54.93 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)