Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.839/1.839, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001266/0.001266, allocations: 180.8 kB / 366.7 MB, free: 1.641 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.827/1.827, allocations: 205.3 MB / 0.626 GB, free: 7.172 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.0008933/0.0008933, allocations: 80.77 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.156e-05/2.181e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6995/0.6996, allocations: 116.3 MB / 0.9733 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.892, allocations: 138.5 MB / 1.109 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.8924, allocations: 76.5 kB / 1.109 GB, free: 11.54 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.006694/0.8991, allocations: 2.231 MB / 1.111 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8991, allocations: 0.5 kB / 1.111 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.8991, allocations: 5.312 kB / 1.111 GB, free: 9.324 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004066/0.8995, allocations: 385.2 kB / 1.111 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.8996, allocations: 8.562 kB / 1.111 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.8996, allocations: 4.438 kB / 1.111 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.8998, allocations: 171 kB / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.8998, allocations: 0.5625 kB / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.8998, allocations: 0.5312 kB / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.504e-05/0.8999, allocations: 4 kB / 1.111 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.831e-05/0.8999, allocations: 39.44 kB / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.8999, allocations: 0 / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.9, allocations: 7.984 kB / 1.111 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.9, allocations: 0 / 1.111 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.9001, allocations: 133.5 kB / 1.112 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.793e-05/0.9002, allocations: 28.61 kB / 1.112 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.9003, allocations: 16.86 kB / 1.112 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.9003, allocations: 3.938 kB / 1.112 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.9004, allocations: 49.47 kB / 1.112 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.9004, allocations: 0 / 1.112 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001829/0.9006, allocations: 58.2 kB / 1.112 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.9006, allocations: 55.97 kB / 1.112 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.616e-05/0.9007, allocations: 89.56 kB / 1.112 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.9007, allocations: 26.23 kB / 1.112 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.9008, allocations: 84.67 kB / 1.112 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.9008, allocations: 15.73 kB / 1.112 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.9008, allocations: 0.8125 kB / 1.112 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.901, allocations: 323.3 kB / 1.112 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.901, allocations: 4.531 kB / 1.112 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.768e-05/0.901, allocations: 32.84 kB / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.955e-05/0.9011, allocations: 16.8 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9011, allocations: 0.875 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001008/0.9012, allocations: 64.67 kB / 1.112 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.9012, allocations: 4 kB / 1.112 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.9012, allocations: 4 kB / 1.112 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.9012, allocations: 1.594 kB / 1.112 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.632e-05/0.9013, allocations: 8 kB / 1.112 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.9013, allocations: 3.984 kB / 1.112 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.565e-05/0.9013, allocations: 1.312 kB / 1.112 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.9013, allocations: 4.594 kB / 1.112 GB, free: 7.516 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 7.872e-05/0.9014, allocations: 109.7 kB / 1.113 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.389e-05/0.9015, allocations: 61.55 kB / 1.113 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.9016, allocations: 4.5 kB / 1.113 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.9016, allocations: 8.984 kB / 1.113 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.9016, allocations: 0 / 1.113 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.9016, allocations: 2.781 kB / 1.113 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.9016, allocations: 0 / 1.113 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.9017, allocations: 138.2 kB / 1.113 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.9018, allocations: 6.578 kB / 1.113 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.482e-05/0.9018, allocations: 4 kB / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.9018, allocations: 0 / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.9018, allocations: 0 / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.9018, allocations: 1.781 kB / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.9018, allocations: 6.969 kB / 1.113 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.9019, allocations: 77.11 kB / 1.113 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.902, allocations: 88.97 kB / 1.113 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.902, allocations: 0 / 1.113 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.334e-05/0.902, allocations: 4 kB / 1.113 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.9021, allocations: 3.125 kB / 1.113 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.9021, allocations: 7.984 kB / 1.113 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.916e-05/0.9021, allocations: 75.28 kB / 1.113 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9021, allocations: 0 / 1.113 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000261/0.9024, allocations: 51.88 kB / 1.113 GB, free: 6.797 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.0007024/0.9031, allocations: 0.7047 MB / 1.114 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.202e-05/0.9032, allocations: 23.94 kB / 1.114 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9032, allocations: 0 / 1.114 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.743e-05/0.9032, allocations: 12.19 kB / 1.114 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.375e-05/0.9033, allocations: 5.594 kB / 1.114 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.9037, allocations: 116.1 kB / 1.114 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.904, allocations: 0.6807 MB / 1.115 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.179e-05/0.904, allocations: 3.984 kB / 1.115 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.904, allocations: 11.44 kB / 1.115 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.904, allocations: 0 / 1.115 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.9233, allocations: 1.617 MB / 1.116 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.9235, allocations: 173.4 kB / 1.116 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/2.578, allocations: 6.047 kB / 1.116 GB, free: 3.395 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1)