Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.656/1.656, allocations: 285.4 MB / 298 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009969/0.0009966, allocations: 176.8 kB / 366.4 MB, free: 2.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.1 MB / 0.6248 GB, free: 7.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008729/0.000873, allocations: 89.31 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.041e-05, allocations: 4 kB / 0.8584 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7062/0.7063, allocations: 115.3 MB / 0.971 GB, free: 77.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2039/0.9103, allocations: 138.3 MB / 1.106 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.9106, allocations: 71.95 kB / 1.106 GB, free: 13.46 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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 FrontEnd - DAE generated: time 0.006963/0.9176, allocations: 2.311 MB / 1.108 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.035e-06/0.9176, allocations: 0 / 1.108 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.9176, allocations: 0 / 1.108 GB, free: 11.17 MB / 0.7136 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.0004744/0.9181, allocations: 394.5 kB / 1.109 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.9182, allocations: 8.031 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.756e-05/0.9183, allocations: 38.47 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.9183, allocations: 5.969 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.9184, allocations: 168 kB / 1.109 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.9185, allocations: 4 kB / 1.109 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.9185, allocations: 0 / 1.109 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.9186, allocations: 45.67 kB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.9186, allocations: 7.984 kB / 1.109 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.9187, allocations: 1.656 kB / 1.109 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.9187, allocations: 0 / 1.109 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.491e-05/0.9187, allocations: 8 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.9191, allocations: 248.1 kB / 1.109 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.005e-05/0.9192, allocations: 36.83 kB / 1.109 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.202e-05/0.9192, allocations: 16.98 kB / 1.109 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.9192, allocations: 3.984 kB / 1.109 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/0.9194, allocations: 62.44 kB / 1.109 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.9194, allocations: 0 / 1.109 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002226/0.9196, allocations: 73.53 kB / 1.109 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.9196, allocations: 51.41 kB / 1.109 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/0.9197, allocations: 104.9 kB / 1.11 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.9198, allocations: 25.7 kB / 1.11 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.9198, allocations: 85.3 kB / 1.11 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.9198, allocations: 15.75 kB / 1.11 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.9199, allocations: 10.88 kB / 1.11 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.92, allocations: 314.8 kB / 1.11 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.755e-05/0.92, allocations: 12.91 kB / 1.11 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.596e-05/0.9201, allocations: 38.27 kB / 1.11 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.833e-05/0.9201, allocations: 19.05 kB / 1.11 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9201, allocations: 4 kB / 1.11 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001248/0.9203, allocations: 73.53 kB / 1.11 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.9203, allocations: 9.234 kB / 1.11 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.9203, allocations: 4 kB / 1.11 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.9203, allocations: 0 / 1.11 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.9204, allocations: 11.94 kB / 1.11 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.9204, allocations: 4.875 kB / 1.11 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.255e-05/0.9205, allocations: 4 kB / 1.11 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.9205, allocations: 11.92 kB / 1.11 GB, free: 9.078 MB / 0.7136 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 () * 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 7.958e-05/0.9206, allocations: 110.5 kB / 1.11 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.9206, allocations: 0 / 1.11 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.9206, allocations: 8.078 kB / 1.11 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.9206, allocations: 4 kB / 1.11 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.9206, allocations: 4.094 kB / 1.11 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.9207, allocations: 0 / 1.11 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.9209, allocations: 320.2 kB / 1.111 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.921, allocations: 0 / 1.111 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-05/0.921, allocations: 8 kB / 1.111 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.921, allocations: 96 / 1.111 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.921, allocations: 6.891 kB / 1.111 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.921, allocations: 4 kB / 1.111 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.921, allocations: 0 / 1.111 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.9212, allocations: 172.3 kB / 1.111 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.9213, allocations: 77.11 kB / 1.111 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.9213, allocations: 4 kB / 1.111 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.324e-05/0.9213, allocations: 0 / 1.111 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.9214, allocations: 7.984 kB / 1.111 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.9214, allocations: 0 / 1.111 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.921e-05/0.9214, allocations: 85.84 kB / 1.111 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9215, allocations: 0 / 1.111 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003133/0.9218, allocations: 51.88 kB / 1.111 GB, free: 8.137 MB / 0.7136 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 () * 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.0008218/0.9226, allocations: 0.7934 MB / 1.112 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.9227, allocations: 39.94 kB / 1.112 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.9227, allocations: 4 kB / 1.112 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.777e-05/0.9228, allocations: 19.98 kB / 1.112 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.9229, allocations: 0 / 1.112 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.9234, allocations: 132.8 kB / 1.112 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.9238, allocations: 0.6926 MB / 1.113 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.599e-05/0.9238, allocations: 192 / 1.113 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.9239, allocations: 19.44 kB / 1.113 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.9239, allocations: 0 / 1.113 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01326/0.9371, allocations: 2.039 MB / 1.115 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.9374, allocations: 202.1 kB / 1.115 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/2.504, allocations: 4.062 kB / 1.115 GB, free: 4.297 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)