Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.481/2.481, allocations: 284.9 MB / 292.4 MB, free: 10.48 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.001414/0.001414, allocations: 172.8 kB / 360.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.269/2.269, allocations: 205.3 MB / 0.6191 GB, free: 12.17 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.001096/0.001095, allocations: 98.16 kB / 0.7321 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.325e-05/2.322e-05, allocations: 0 / 0.8508 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8129/0.813, allocations: 115.3 MB / 0.9634 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2412/1.054, allocations: 137.4 MB / 1.098 GB, free: 2.973 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/1.055, allocations: 76.19 kB / 1.098 GB, free: 2.902 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01053/1.065, allocations: 2.295 MB / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.473e-06/1.065, allocations: 0.7812 kB / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.678e-06/1.065, allocations: 0 / 1.1 GB, free: 0.6484 MB / 0.698 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.0005252/1.066, allocations: 397.1 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/1.066, allocations: 8.969 kB / 1.1 GB, free: 208 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/1.066, allocations: 12.09 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/1.066, allocations: 167.7 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/1.066, allocations: 0 / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/1.066, allocations: 4.688 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.913e-05/1.066, allocations: 8 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.886e-05/1.066, allocations: 38.34 kB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/1.066, allocations: 0 / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/1.066, allocations: 4.719 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/1.066, allocations: 0 / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/1.067, allocations: 142.1 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.494e-05/1.067, allocations: 19.33 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/1.067, allocations: 20.86 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/1.067, allocations: 5.469 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/1.067, allocations: 52.03 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/1.067, allocations: 0 / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0002361/1.067, allocations: 66.16 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/1.067, allocations: 57.72 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.845e-05/1.067, allocations: 97.98 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/1.067, allocations: 26.33 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/1.067, allocations: 80.67 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/1.067, allocations: 16.34 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/1.067, allocations: 0 / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.068, allocations: 316.7 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.759e-05/1.068, allocations: 8 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.52e-05/1.068, allocations: 36.89 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.312e-05/1.068, allocations: 17.86 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.068, allocations: 0 / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001563/1.068, allocations: 74.8 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/1.068, allocations: 4.781 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.068, allocations: 4 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.068, allocations: 0.625 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/1.068, allocations: 10.16 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/1.068, allocations: 0.8438 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.321e-05/1.068, allocations: 4 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/1.068, allocations: 12.61 kB / 1.102 GB, free: 14.78 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.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete 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 9.678e-05/1.068, allocations: 116.2 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001316/1.069, allocations: 62.25 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/1.069, allocations: 0 / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/1.069, allocations: 9.812 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.069, allocations: 4 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.069, allocations: 0 / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/1.069, allocations: 0 / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/1.069, allocations: 134.8 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.069, allocations: 7.141 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/1.069, allocations: 4 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.069, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/1.069, allocations: 4 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/1.069, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.069, allocations: 3.938 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/1.069, allocations: 87.92 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/1.069, allocations: 89 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/1.069, allocations: 3.062 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.291e-05/1.069, allocations: 0 / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/1.069, allocations: 0 / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/1.069, allocations: 7.188 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.794e-05/1.069, allocations: 87.27 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.7e-07/1.069, allocations: 4.125 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003995/1.07, allocations: 43.88 kB / 1.102 GB, free: 14.06 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,y,curSeed) * Number of discrete 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.001017/1.071, allocations: 0.7126 MB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001345/1.071, allocations: 35.92 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.071, allocations: 0 / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.92e-05/1.071, allocations: 20.97 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/1.071, allocations: 2.578 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/1.072, allocations: 119.9 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/1.072, allocations: 0.6807 MB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.566e-05/1.072, allocations: 12.14 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/1.072, allocations: 15.44 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of SimCode: time 8.11e-07/1.072, allocations: 0 / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04233/1.114, allocations: 1.693 MB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003057/1.115, allocations: 171.5 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.327/3.442, allocations: 3.25 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)