Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.708/2.708, allocations: 284.9 MB / 292.4 MB, free: 10.49 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.00142/0.00142, allocations: 172.8 kB / 360.6 MB, free: 7.277 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.203/2.203, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001486/0.001485, allocations: 88.94 kB / 0.7321 GB, free: 42.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.831e-05, allocations: 4 kB / 0.8508 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8538/0.8538, allocations: 115.3 MB / 0.9634 GB, free: 79.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2449/1.099, allocations: 137.4 MB / 1.098 GB, free: 2.871 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004177/1.099, allocations: 68.59 kB / 1.098 GB, free: 2.805 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.01035/1.11, allocations: 2.236 MB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/1.11, allocations: 2.062 kB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.11, allocations: 0.6875 kB / 1.1 GB, free: 0.5977 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005521/1.11, allocations: 388.7 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.11, allocations: 9.281 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/1.11, allocations: 4 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/1.111, allocations: 170.9 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/1.111, allocations: 0.5 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/1.111, allocations: 4.5 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.93e-05/1.111, allocations: 4 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.377e-05/1.111, allocations: 38.28 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.111, allocations: 1.625 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/1.111, allocations: 0 / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/1.111, allocations: 0 / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/1.111, allocations: 141.5 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.716e-05/1.111, allocations: 27.25 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.922e-05/1.111, allocations: 17.69 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/1.111, allocations: 0 / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/1.111, allocations: 52.97 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.853e-06/1.111, allocations: 1.75 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002109/1.112, allocations: 49.69 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/1.112, allocations: 55.41 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/1.112, allocations: 97.58 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/1.112, allocations: 32.55 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/1.112, allocations: 80.77 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/1.112, allocations: 13.25 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-06/1.112, allocations: 0 / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.112, allocations: 322.8 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.344e-05/1.112, allocations: 4.75 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.992e-05/1.112, allocations: 33.44 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.733e-05/1.112, allocations: 9.953 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.112, allocations: 3.953 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000141/1.112, allocations: 70.69 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.112, allocations: 8.5 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.904e-06/1.112, allocations: 1 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.112, allocations: 1.219 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.318e-05/1.113, allocations: 11.94 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/1.113, allocations: 0 / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/1.113, allocations: 5.781 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/1.113, allocations: 0 / 1.101 GB, free: 14.78 MB / 0.7136 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.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.609e-05/1.113, allocations: 108.8 kB / 1.101 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001346/1.113, allocations: 59.38 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/1.113, allocations: 9.594 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/1.113, allocations: 4.125 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.113, allocations: 0 / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/1.113, allocations: 0 / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.113, allocations: 0.8438 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/1.113, allocations: 138.2 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.113, allocations: 3.094 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.966e-05/1.113, allocations: 7.938 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/1.113, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/1.113, allocations: 3.984 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.113, allocations: 0 / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.113, allocations: 0 / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/1.113, allocations: 80.88 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/1.114, allocations: 92.95 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/1.114, allocations: 2.312 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.034e-05/1.114, allocations: 0 / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/1.114, allocations: 0 / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/1.114, allocations: 4 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.2e-05/1.114, allocations: 83.22 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.01e-07/1.114, allocations: 0 / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004607/1.114, allocations: 47.86 kB / 1.102 GB, free: 14.07 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 (4): * Single equations (assignments): 2 * 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.0009515/1.115, allocations: 0.7073 MB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001392/1.115, allocations: 27.92 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.115, allocations: 0 / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/1.115, allocations: 12 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/1.116, allocations: 2.578 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004648/1.116, allocations: 119.9 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/1.116, allocations: 0.6848 MB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.758e-05/1.116, allocations: 0 / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/1.116, allocations: 15.44 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of SimCode: time 4.007e-06/1.116, allocations: 0 / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0416/1.158, allocations: 1.624 MB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003474/1.158, allocations: 173.6 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/3.482, allocations: 4.547 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)