Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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.841/1.841, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001284/0.001285, allocations: 176.9 kB / 361.4 MB, free: 6.812 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.741/1.741, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0007789/0.0007789, allocations: 98.12 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.641e-05/1.642e-05, allocations: 4 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6669/0.6669, allocations: 115.3 MB / 0.9644 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/0.863, allocations: 137.6 MB / 1.099 GB, free: 2.184 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.8633, allocations: 69.44 kB / 1.099 GB, free: 2.117 MB / 0.698 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.006918/0.8702, allocations: 2.313 MB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8703, allocations: 1.75 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.8703, allocations: 0 / 1.101 GB, free: 15.85 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.0004825/0.8708, allocations: 388.7 kB / 1.102 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.8709, allocations: 8.031 kB / 1.102 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.8709, allocations: 9.562 kB / 1.102 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.8711, allocations: 165.2 kB / 1.102 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.8711, allocations: 1.406 kB / 1.102 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.8711, allocations: 11.94 kB / 1.102 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.022e-05/0.8712, allocations: 7.984 kB / 1.102 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.818e-05/0.8713, allocations: 37.12 kB / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.8713, allocations: 0 / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.8713, allocations: 0.625 kB / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.8713, allocations: 0 / 1.102 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.8715, allocations: 139.3 kB / 1.102 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.948e-05/0.8716, allocations: 27.14 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.8716, allocations: 10.7 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.8716, allocations: 4.516 kB / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.8718, allocations: 60.81 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.8718, allocations: 0.625 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001877/0.872, allocations: 53.59 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.872, allocations: 55.91 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.565e-05/0.8721, allocations: 99.14 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.8722, allocations: 26.39 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.8722, allocations: 88.67 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.8722, allocations: 8.375 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.8723, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.8724, allocations: 323.5 kB / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.8724, allocations: 4.531 kB / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/0.8725, allocations: 36.41 kB / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.602e-05/0.8725, allocations: 9.438 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8725, allocations: 0.8438 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001076/0.8726, allocations: 70.38 kB / 1.103 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.8727, allocations: 4 kB / 1.103 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.8727, allocations: 4.875 kB / 1.103 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.8727, allocations: 4 kB / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.096e-05/0.8728, allocations: 4.625 kB / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.8728, allocations: 4 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.81e-05/0.8728, allocations: 4.406 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.8728, allocations: 9.344 kB / 1.103 GB, free: 14.01 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.153e-05/0.8729, allocations: 107.6 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.299e-05/0.873, allocations: 61.62 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.8731, allocations: 4 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.8731, allocations: 4.344 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.8731, allocations: 0.8438 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.8731, allocations: 0 / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.8731, allocations: 3.5 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.8733, allocations: 146.7 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8733, allocations: 0 / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.8733, allocations: 7.984 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.8733, allocations: 0 / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.8733, allocations: 0 / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.8733, allocations: 0 / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.8733, allocations: 0 / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.8735, allocations: 94.11 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.8735, allocations: 81.06 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.8735, allocations: 0 / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.34e-05/0.8736, allocations: 0.9062 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.8736, allocations: 4 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.8736, allocations: 0 / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.326e-05/0.8737, allocations: 91.36 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8737, allocations: 0 / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002807/0.874, allocations: 43.88 kB / 1.103 GB, free: 13.3 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.0007529/0.8747, allocations: 0.7173 MB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.8749, allocations: 24 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.8749, allocations: 0 / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-05/0.8749, allocations: 11.94 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001065/0.875, allocations: 4 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.8754, allocations: 121.8 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.8757, allocations: 0.6847 MB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.456e-05/0.8758, allocations: 4 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.8758, allocations: 11.44 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of SimCode: time 4.21e-07/0.8758, allocations: 0 / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.8974, allocations: 1.686 MB / 1.107 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003184/0.8978, allocations: 187.3 kB / 1.107 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/2.416, allocations: 0 / 1.107 GB, free: 9.82 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1)