Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.701/1.701, allocations: 249.3 MB / 261.8 MB, free: 5.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001319/0.001319, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009212/0.0009213, allocations: 88.62 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.389e-05/5.402e-05, allocations: 8 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2731, allocations: 106.3 MB / 0.8919 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8913/1.164, allocations: 132 MB / 1.021 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/1.165, allocations: 69.52 kB / 1.021 GB, free: 2.73 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.006778/1.172, allocations: 2.312 MB / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.833e-06/1.172, allocations: 0 / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.758e-06/1.172, allocations: 4 kB / 1.023 GB, free: 0.7344 MB / 0.6355 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.0004338/1.172, allocations: 386.6 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/1.172, allocations: 11.97 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.181e-05/1.172, allocations: 34.56 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/1.172, allocations: 7.859 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/1.172, allocations: 167 kB / 1.024 GB, free: 48 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/1.172, allocations: 10.73 kB / 1.024 GB, free: 40 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/1.173, allocations: 4 kB / 1.024 GB, free: 36 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/1.173, allocations: 41.62 kB / 1.024 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/1.173, allocations: 0 / 1.024 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/1.173, allocations: 0 / 1.024 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/1.173, allocations: 6.125 kB / 1.024 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.219e-05/1.173, allocations: 11.88 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/1.173, allocations: 247.3 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.221e-05/1.173, allocations: 33.44 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/1.173, allocations: 19.61 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/1.173, allocations: 8 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001176/1.173, allocations: 55.22 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/1.173, allocations: 0 / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0002003/1.174, allocations: 68.34 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/1.174, allocations: 66.22 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.566e-05/1.174, allocations: 92.62 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/1.174, allocations: 25.7 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/1.174, allocations: 86.95 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/1.174, allocations: 23.3 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/1.174, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.174, allocations: 318.3 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.643e-05/1.174, allocations: 4 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.597e-05/1.174, allocations: 39.8 kB / 1.025 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.246e-05/1.174, allocations: 19.92 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.174, allocations: 0 / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001242/1.174, allocations: 80.09 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.174, allocations: 4 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.174, allocations: 4 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/1.174, allocations: 0 / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/1.174, allocations: 19.75 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.174, allocations: 8.031 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.538e-05/1.174, allocations: 7.859 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/1.174, allocations: 8.609 kB / 1.025 GB, free: 14.69 MB / 0.6511 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 8.815e-05/1.175, allocations: 112.2 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/1.175, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/1.175, allocations: 11.53 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/1.175, allocations: 0 / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.175, allocations: 0 / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.175, allocations: 0 / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/1.175, allocations: 322.8 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.175, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.542e-05/1.175, allocations: 4 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/1.175, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/1.175, allocations: 7.984 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.175, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.175, allocations: 3.953 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/1.175, allocations: 168.7 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/1.175, allocations: 81.11 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/1.175, allocations: 3.984 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.27e-05/1.175, allocations: 4 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/1.175, allocations: 0 / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/1.175, allocations: 7.953 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.214e-05/1.175, allocations: 82.59 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.175, allocations: 0 / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003063/1.176, allocations: 51.11 kB / 1.026 GB, free: 13.78 MB / 0.6511 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.000771/1.177, allocations: 0.7897 MB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001128/1.177, allocations: 38.8 kB / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.177, allocations: 192 / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/1.177, allocations: 26 kB / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/1.177, allocations: 0 / 1.027 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/1.177, allocations: 126 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/1.178, allocations: 0.6848 MB / 1.027 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.546e-05/1.178, allocations: 3.938 kB / 1.027 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/1.178, allocations: 18.88 kB / 1.027 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of SimCode: time 4.01e-07/1.178, allocations: 3.938 kB / 1.027 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/1.191, allocations: 2.041 MB / 1.029 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/1.191, allocations: 205.8 kB / 1.03 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.749, allocations: 0 / 1.03 GB, free: 9.887 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1)