Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",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.45/1.45, allocations: 249.3 MB / 261.8 MB, free: 5.949 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.001087/0.001087, allocations: 174.7 kB / 321.3 MB, free: 14.67 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.718/1.718, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0009025/0.0009025, allocations: 98.39 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.845e-05/3.85e-05, allocations: 8 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2417, allocations: 106.3 MB / 0.8919 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.817/1.059, allocations: 131.9 MB / 1.021 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.059, allocations: 70.03 kB / 1.021 GB, free: 2.777 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.006743/1.066, allocations: 2.286 MB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.108e-06/1.066, allocations: 8 kB / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.724e-06/1.066, allocations: 0 / 1.023 GB, free: 0.7969 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004472/1.066, allocations: 382.4 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.066, allocations: 11.97 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.252e-05/1.067, allocations: 33.75 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/1.067, allocations: 14.42 kB / 1.023 GB, free: 324 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/1.067, allocations: 163.1 kB / 1.024 GB, free: 120 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/1.067, allocations: 4 kB / 1.024 GB, free: 116 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/1.067, allocations: 7.938 kB / 1.024 GB, free: 108 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/1.067, allocations: 45.11 kB / 1.024 GB, free: 60 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/1.067, allocations: 0 / 1.024 GB, free: 60 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/1.067, allocations: 0 / 1.024 GB, free: 60 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/1.067, allocations: 4 kB / 1.024 GB, free: 56 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.023e-05/1.067, allocations: 7.312 kB / 1.024 GB, free: 52 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/1.067, allocations: 244.1 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.978e-05/1.067, allocations: 44.5 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/1.068, allocations: 15.92 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/1.068, allocations: 0 / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/1.068, allocations: 57.88 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/1.068, allocations: 3.938 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5): time 0.0002166/1.068, allocations: 67.89 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/1.068, allocations: 63.3 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.179e-05/1.068, allocations: 100.8 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/1.068, allocations: 25.7 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/1.068, allocations: 86.94 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/1.068, allocations: 15.09 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/1.068, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.068, allocations: 314.3 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/1.068, allocations: 8 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.149e-05/1.068, allocations: 42.84 kB / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.184e-05/1.068, allocations: 11.5 kB / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.068, allocations: 0 / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001159/1.069, allocations: 76.39 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.069, allocations: 8 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.069, allocations: 64 / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/1.069, allocations: 4 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.067e-05/1.069, allocations: 8 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/1.069, allocations: 0.7031 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/1.069, allocations: 11.89 kB / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/1.069, allocations: 11.86 kB / 1.025 GB, free: 14.77 MB / 0.6511 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.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * 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 7.288e-05/1.069, allocations: 101 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/1.069, allocations: 7.906 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/1.069, allocations: 10.97 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/1.069, allocations: 4 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/1.069, allocations: 96 / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.069, allocations: 3.984 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/1.069, allocations: 298.1 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.069, allocations: 4 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.501e-05/1.069, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.069, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/1.069, allocations: 4 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.069, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.069, allocations: 3.953 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/1.069, allocations: 165.9 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/1.07, allocations: 85.02 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/1.07, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.59e-05/1.07, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/1.07, allocations: 11.36 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/1.07, allocations: 8.328 kB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.814e-05/1.07, allocations: 83.28 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.21e-07/1.07, allocations: 0 / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002974/1.07, allocations: 59.11 kB / 1.026 GB, free: 13.87 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 (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.0007755/1.071, allocations: 0.7655 MB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001008/1.071, allocations: 34.44 kB / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.071, allocations: 0 / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.069e-05/1.071, allocations: 15.69 kB / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/1.071, allocations: 7.922 kB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/1.072, allocations: 129.9 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/1.072, allocations: 0.6809 MB / 1.027 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.825e-05/1.072, allocations: 12.3 kB / 1.027 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/1.072, allocations: 27.25 kB / 1.027 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of SimCode: time 4.2e-07/1.072, allocations: 0 / 1.027 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01381/1.086, allocations: 2.046 MB / 1.029 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/1.086, allocations: 211 kB / 1.029 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.654, allocations: 0 / 1.029 GB, free: 9.992 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)