Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",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.774/1.774, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001344/0.001344, allocations: 177.2 kB / 377.1 MB, free: 1.523 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.006/2.006, allocations: 205.4 MB / 0.6366 GB, free: 8.641 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.0009403/0.0009406, allocations: 91.52 kB / 0.7509 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003797, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3084, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9086/1.217, allocations: 139.3 MB / 1.124 GB, free: 35.35 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003811/1.218, allocations: 76.97 kB / 1.124 GB, free: 35.29 MB / 0.7292 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.007363/1.225, allocations: 2.297 MB / 1.127 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.546e-06/1.225, allocations: 0.6875 kB / 1.127 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.125e-05/1.225, allocations: 0 / 1.127 GB, free: 33.61 MB / 0.7292 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.000547/1.226, allocations: 403.4 kB / 1.127 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.273e-05/1.226, allocations: 12.02 kB / 1.127 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.152e-05/1.226, allocations: 31.06 kB / 1.127 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/1.226, allocations: 6.062 kB / 1.127 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/1.226, allocations: 163.6 kB / 1.127 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/1.226, allocations: 18.08 kB / 1.127 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/1.226, allocations: 0 / 1.127 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/1.226, allocations: 48.03 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/1.226, allocations: 0.9375 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/1.226, allocations: 0.5 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/1.226, allocations: 0 / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.85e-05/1.226, allocations: 8.453 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/1.227, allocations: 254.6 kB / 1.128 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/1.227, allocations: 38.08 kB / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/1.227, allocations: 0.75 kB / 1.128 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/1.227, allocations: 62.95 kB / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/1.227, allocations: 0 / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0002433/1.227, allocations: 77.62 kB / 1.128 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/1.227, allocations: 51.41 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.406e-05/1.227, allocations: 101.1 kB / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/1.227, allocations: 25.7 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/1.227, allocations: 84.14 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/1.227, allocations: 15.75 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/1.227, allocations: 4 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.877e-05/1.228, allocations: 322.4 kB / 1.128 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.259e-05/1.228, allocations: 12 kB / 1.128 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.511e-05/1.228, allocations: 35.31 kB / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/1.228, allocations: 9.266 kB / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.228, allocations: 4.562 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001018/1.228, allocations: 76.42 kB / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/1.228, allocations: 4 kB / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/1.228, allocations: 0 / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/1.228, allocations: 4 kB / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/1.228, allocations: 11.38 kB / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/1.228, allocations: 0.5625 kB / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/1.228, allocations: 4.406 kB / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/1.228, allocations: 4 kB / 1.129 GB, free: 31.61 MB / 0.7292 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 () * Number of clocked 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.676e-05/1.228, allocations: 122.3 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/1.228, allocations: 4.625 kB / 1.129 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/1.228, allocations: 11.97 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.228, allocations: 3.469 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.228, allocations: 0.8125 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/1.228, allocations: 0.5625 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/1.228, allocations: 301 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.228, allocations: 2.297 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.822e-05/1.228, allocations: 4 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.228, allocations: 0 / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/1.228, allocations: 4 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/1.228, allocations: 1.859 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.228, allocations: 3.469 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/1.229, allocations: 171.4 kB / 1.129 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/1.229, allocations: 77.11 kB / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/1.229, allocations: 3.375 kB / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.066e-05/1.229, allocations: 0.625 kB / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/1.229, allocations: 4.562 kB / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/1.229, allocations: 4 kB / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.254e-05/1.229, allocations: 87.86 kB / 1.129 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.229, allocations: 0 / 1.129 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003417/1.229, allocations: 59.42 kB / 1.129 GB, free: 30.7 MB / 0.7292 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 () * Number of clocked 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.0006516/1.23, allocations: 0.7804 MB / 1.13 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001197/1.23, allocations: 40.75 kB / 1.13 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/1.23, allocations: 0 / 1.13 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.781e-05/1.23, allocations: 12 kB / 1.13 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/1.23, allocations: 8.812 kB / 1.13 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/1.231, allocations: 0.8133 MB / 1.131 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/1.231, allocations: 0.6844 MB / 1.132 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.309e-05/1.231, allocations: 3.562 kB / 1.132 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/1.231, allocations: 16.47 kB / 1.132 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of SimCode: time 6.21e-07/1.231, allocations: 3.938 kB / 1.132 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/1.244, allocations: 2.021 MB / 1.134 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/1.245, allocations: 220.3 kB / 1.134 GB, free: 26.97 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.882, allocations: 4 kB / 1.134 GB, free: 26.97 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)