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.438/1.438, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.001038/0.001037, allocations: 178.7 kB / 325.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205 MB / 0.576 GB, free: 20.99 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.0006885/0.0006885, allocations: 100 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.0004169, allocations: 8.531 kB / 0.7932 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2234, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.00138/0.2249, allocations: 0.9627 MB / 0.8971 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.2259, allocations: 461.1 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.226, allocations: 0 / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.226, allocations: 3.938 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.253e-05/0.2261, allocations: 0 / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.2266, allocations: 95.77 kB / 0.8977 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.495e-05/0.2267, allocations: 23.92 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.2267, allocations: 288 / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.38e-05/0.2267, allocations: 7.938 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.243e-05/0.2268, allocations: 19.91 kB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.2268, allocations: 0 / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.2271, allocations: 103.9 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.2271, allocations: 8 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.2271, allocations: 11.92 kB / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.2273, allocations: 115.6 kB / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2274, allocations: 0 / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2274, allocations: 0 / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.2274, allocations: 0 / 0.8979 GB, free: 66.28 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.0003663/0.2278, allocations: 369.3 kB / 0.8983 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2278, allocations: 8.031 kB / 0.8983 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.985e-05/0.2279, allocations: 42.64 kB / 0.8983 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.2279, allocations: 4.938 kB / 0.8984 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.961e-05/0.228, allocations: 168.3 kB / 0.8985 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.228, allocations: 4.375 kB / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.2281, allocations: 4.375 kB / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.2282, allocations: 50.17 kB / 0.8986 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.2282, allocations: 7.875 kB / 0.8986 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.2282, allocations: 0 / 0.8986 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2282, allocations: 4 kB / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.596e-05/0.2283, allocations: 4 kB / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.2286, allocations: 249 kB / 0.8988 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.395e-05/0.2287, allocations: 34.5 kB / 0.8989 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.405e-05/0.2287, allocations: 20.98 kB / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.2288, allocations: 0 / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.2289, allocations: 71.23 kB / 0.8989 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.2289, allocations: 0 / 0.8989 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0002507/0.2292, allocations: 77.67 kB / 0.899 GB, free: 65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.2292, allocations: 55.41 kB / 0.8991 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.62e-05/0.2293, allocations: 105.8 kB / 0.8992 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.2293, allocations: 25.7 kB / 0.8992 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.165e-05/0.2294, allocations: 80.14 kB / 0.8993 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.2294, allocations: 27.73 kB / 0.8993 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.2294, allocations: 21.7 kB / 0.8993 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.958e-05/0.2295, allocations: 310.8 kB / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.967e-05/0.2295, allocations: 8 kB / 0.8996 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.495e-05/0.2296, allocations: 44.28 kB / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.192e-05/0.2297, allocations: 60.22 kB / 0.8997 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.2297, allocations: 3.938 kB / 0.8997 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001495/0.2299, allocations: 81.47 kB / 0.8998 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2299, allocations: 10.66 kB / 0.8998 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.2299, allocations: 192 / 0.8998 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2299, allocations: 3.984 kB / 0.8998 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/0.23, allocations: 15.94 kB / 0.8998 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.23, allocations: 4.094 kB / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.605e-05/0.2301, allocations: 7.938 kB / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.2301, allocations: 0 / 0.8998 GB, free: 64.07 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 (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 5.866e-05/0.2302, allocations: 121.8 kB / 0.9 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.2302, allocations: 11.89 kB / 0.9 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.2302, allocations: 12.45 kB / 0.9 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.2302, allocations: 0 / 0.9 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2303, allocations: 3.938 kB / 0.9 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2303, allocations: 0 / 0.9 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.2305, allocations: 310.6 kB / 0.9003 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2305, allocations: 0 / 0.9003 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-05/0.2306, allocations: 7.938 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.2306, allocations: 0 / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2306, allocations: 4 kB / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2306, allocations: 0 / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2306, allocations: 0 / 0.9003 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.2308, allocations: 175.5 kB / 0.9005 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.2308, allocations: 81.02 kB / 0.9005 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.2309, allocations: 0 / 0.9005 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.583e-05/0.231, allocations: 4 kB / 0.9005 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.231, allocations: 3.984 kB / 0.9005 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.231, allocations: 4 kB / 0.9005 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.619e-05/0.231, allocations: 83.28 kB / 0.9006 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2311, allocations: 0 / 0.9006 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000461/0.2315, allocations: 39.92 kB / 0.9007 GB, free: 63.12 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 (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.0006338/0.2322, allocations: 0.7769 MB / 0.9014 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.2323, allocations: 35.92 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2323, allocations: 4.188 kB / 0.9015 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.565e-05/0.2324, allocations: 19.98 kB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.2327, allocations: 4 kB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.2338, allocations: 1.325 MB / 0.9028 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.726e-05/0.2339, allocations: 0.677 MB / 0.9034 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.234, allocations: 4 kB / 0.9034 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.234, allocations: 11.44 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.234, allocations: 3.938 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.2475, allocations: 1.856 MB / 0.9053 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/0.2478, allocations: 251.9 kB / 0.9055 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/1.739, allocations: 64 / 0.9055 GB, free: 58.14 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)