Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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.461/1.461, allocations: 252 MB / 267 MB, free: 10.98 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.001088/0.001087, allocations: 176.3 kB / 326.6 MB, free: 2.242 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.056/2.056, allocations: 205.4 MB / 0.5776 GB, free: 20.56 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.0007569/0.0007568, allocations: 93.86 kB / 0.6822 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003501, allocations: 8.25 kB / 0.7964 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2069, allocations: 106.3 MB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001069/0.208, allocations: 0.9504 MB / 0.9012 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006229/0.2087, allocations: 432.9 kB / 0.9016 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.2087, allocations: 0 / 0.9016 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.279e-05/0.2087, allocations: 0 / 0.9016 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.028e-05/0.2088, allocations: 3.938 kB / 0.9016 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.2091, allocations: 87.77 kB / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.585e-05/0.2092, allocations: 23.92 kB / 0.9017 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.2092, allocations: 0 / 0.9017 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.855e-05/0.2093, allocations: 4 kB / 0.9018 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.658e-05/0.2093, allocations: 15.92 kB / 0.9018 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.2093, allocations: 4 kB / 0.9018 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.2095, allocations: 95.84 kB / 0.9019 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.2095, allocations: 7.969 kB / 0.9019 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.2095, allocations: 33.7 kB / 0.9019 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.2096, allocations: 63.84 kB / 0.902 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2096, allocations: 0 / 0.902 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2097, allocations: 0 / 0.902 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2097, allocations: 0 / 0.902 GB, free: 62.63 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003238/0.21, allocations: 373.4 kB / 0.9023 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.21, allocations: 12.03 kB / 0.9023 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.55e-05/0.2101, allocations: 38.41 kB / 0.9024 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.2101, allocations: 4 kB / 0.9024 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.505e-05/0.2102, allocations: 171 kB / 0.9025 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.2102, allocations: 7.938 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.2102, allocations: 0 / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.632e-05/0.2103, allocations: 45.67 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.2103, allocations: 0 / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.2103, allocations: 0 / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.2104, allocations: 0 / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.134e-05/0.2104, allocations: 8 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002476/0.2107, allocations: 252.9 kB / 0.9028 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.5e-05/0.2107, allocations: 34.52 kB / 0.9029 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.178e-05/0.2108, allocations: 16.94 kB / 0.9029 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.2108, allocations: 0 / 0.9029 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.2109, allocations: 67.41 kB / 0.9029 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.2109, allocations: 0 / 0.9029 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0001771/0.2111, allocations: 77.52 kB / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.2111, allocations: 51.41 kB / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.924e-05/0.2112, allocations: 113.8 kB / 0.9032 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.2112, allocations: 29.64 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.131e-05/0.2112, allocations: 92.12 kB / 0.9033 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.2113, allocations: 11.81 kB / 0.9033 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.2113, allocations: 0 / 0.9033 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.124e-05/0.2113, allocations: 322.8 kB / 0.9036 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.2113, allocations: 4 kB / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.947e-05/0.2114, allocations: 35.42 kB / 0.9037 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.2114, allocations: 16 kB / 0.9037 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2114, allocations: 0 / 0.9037 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.174e-05/0.2115, allocations: 77.58 kB / 0.9037 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.2115, allocations: 4 kB / 0.9037 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2115, allocations: 4 kB / 0.9038 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.2115, allocations: 0 / 0.9038 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.411e-05/0.2116, allocations: 8 kB / 0.9038 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2116, allocations: 0 / 0.9038 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/0.2116, allocations: 15.84 kB / 0.9038 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.2117, allocations: 12 kB / 0.9038 GB, free: 60.52 MB / 0.6042 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 ($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 (8): * Single equations (assignments): 8 * 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 4.745e-05/0.2117, allocations: 113.8 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.2117, allocations: 4 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.2117, allocations: 11.91 kB / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2118, allocations: 0 / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2118, allocations: 0 / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.2118, allocations: 0 / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.2119, allocations: 298.6 kB / 0.9042 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2119, allocations: 0 / 0.9042 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.762e-05/0.212, allocations: 8 kB / 0.9042 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.212, allocations: 0 / 0.9042 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.212, allocations: 8.562 kB / 0.9042 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.212, allocations: 3.984 kB / 0.9042 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.212, allocations: 3.938 kB / 0.9042 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.2121, allocations: 163.4 kB / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.2121, allocations: 77.11 kB / 0.9044 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.2122, allocations: 0 / 0.9044 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.103e-05/0.2122, allocations: 15.98 kB / 0.9045 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.2122, allocations: 0 / 0.9045 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.2122, allocations: 0 / 0.9045 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.221e-05/0.2123, allocations: 87.22 kB / 0.9045 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2123, allocations: 0 / 0.9045 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002516/0.2125, allocations: 43.94 kB / 0.9046 GB, free: 59.59 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 (5): * Single equations (assignments): 3 * 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.0005008/0.213, allocations: 0.7659 MB / 0.9053 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.494e-05/0.2131, allocations: 31.92 kB / 0.9054 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2132, allocations: 0 / 0.9054 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.381e-05/0.2132, allocations: 15.98 kB / 0.9054 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.2134, allocations: 4.125 kB / 0.9054 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.2139, allocations: 454.5 kB / 0.9058 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.875e-05/0.214, allocations: 0.6848 MB / 0.9065 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.2141, allocations: 11.89 kB / 0.9065 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.2141, allocations: 7.438 kB / 0.9065 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2141, allocations: 0 / 0.9065 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/0.2257, allocations: 1.867 MB / 0.9083 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/0.226, allocations: 237.6 kB / 0.9086 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.54/1.766, allocations: 9.875 kB / 0.9086 GB, free: 55.56 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)