Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.WeibullVariableGeneration,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",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.853/1.853, allocations: 288.2 MB / 303.2 MB, free: 8.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.001197/0.001197, allocations: 185 kB / 371.8 MB, free: 10.28 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.663/1.663, allocations: 205.4 MB / 0.6305 GB, free: 10.06 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 97.09 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004474/0.0004475, allocations: 14.34 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2567, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8537/1.11, allocations: 138.2 MB / 1.114 GB, free: 16.47 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/1.111, allocations: 70.83 kB / 1.114 GB, free: 16.47 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Occupants/BaseClasses/weibullVariableGeneration.mo:12:5-12:98: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.005878/1.117, allocations: 2.102 MB / 1.117 GB, free: 32.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.392e-06/1.117, allocations: 0 / 1.117 GB, free: 32.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.422e-06/1.117, allocations: 3.906 kB / 1.117 GB, free: 32.08 MB / 0.698 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.0003524/1.117, allocations: 356.7 kB / 1.117 GB, free: 31.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/1.117, allocations: 7.719 kB / 1.117 GB, free: 31.71 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.714e-05/1.117, allocations: 44.41 kB / 1.117 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/1.117, allocations: 3.875 kB / 1.117 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/1.117, allocations: 163 kB / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/1.117, allocations: 0 / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/1.117, allocations: 7.781 kB / 1.117 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.775e-05/1.117, allocations: 38.14 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/1.117, allocations: 3.906 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/1.117, allocations: 3.938 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.118, allocations: 2.859 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.713e-05/1.118, allocations: 11.22 kB / 1.117 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/1.118, allocations: 251.7 kB / 1.117 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.853e-05/1.118, allocations: 38.55 kB / 1.117 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/1.118, allocations: 0 / 1.117 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.863e-05/1.118, allocations: 52.45 kB / 1.117 GB, free: 31.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/1.118, allocations: 0 / 1.117 GB, free: 31.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0001868/1.118, allocations: 83.95 kB / 1.118 GB, free: 31.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/1.118, allocations: 55.41 kB / 1.118 GB, free: 30.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.171e-05/1.118, allocations: 95.81 kB / 1.118 GB, free: 30.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/1.118, allocations: 29.2 kB / 1.118 GB, free: 30.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/1.118, allocations: 80.14 kB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/1.118, allocations: 13.5 kB / 1.118 GB, free: 30.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/1.118, allocations: 0 / 1.118 GB, free: 30.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.119, allocations: 318.4 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/1.119, allocations: 10.34 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.549e-05/1.119, allocations: 37.31 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.807e-05/1.119, allocations: 11.16 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.119, allocations: 3.719 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.798e-05/1.119, allocations: 71.89 kB / 1.118 GB, free: 30.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/1.119, allocations: 7.062 kB / 1.118 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/1.119, allocations: 3.844 kB / 1.118 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/1.119, allocations: 0 / 1.118 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.673e-05/1.119, allocations: 11.75 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/1.119, allocations: 3.938 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.646e-05/1.119, allocations: 11.16 kB / 1.118 GB, free: 30.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/1.119, allocations: 3.875 kB / 1.118 GB, free: 30.36 MB / 0.698 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 6.929e-05/1.119, allocations: 116 kB / 1.118 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.816e-06/1.119, allocations: 3.938 kB / 1.118 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/1.119, allocations: 3.562 kB / 1.118 GB, free: 30.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/1.119, allocations: 3.938 kB / 1.118 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.119, allocations: 0 / 1.118 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/1.119, allocations: 4 kB / 1.118 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/1.119, allocations: 303.6 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.119, allocations: 3.328 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/1.119, allocations: 7.812 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.119, allocations: 0 / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/1.119, allocations: 3.906 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.119, allocations: 0 / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.119, allocations: 0 / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/1.12, allocations: 175.1 kB / 1.119 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/1.12, allocations: 77.11 kB / 1.119 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/1.12, allocations: 3.969 kB / 1.119 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.204e-05/1.12, allocations: 3.375 kB / 1.119 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/1.12, allocations: 0 / 1.119 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/1.12, allocations: 7.219 kB / 1.119 GB, free: 29.69 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.023e-05/1.12, allocations: 75.28 kB / 1.119 GB, free: 29.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.192e-06/1.12, allocations: 0 / 1.119 GB, free: 29.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002759/1.12, allocations: 45.66 kB / 1.119 GB, free: 29.6 MB / 0.698 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.0006461/1.121, allocations: 0.7756 MB / 1.12 GB, free: 28.92 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.116e-05/1.121, allocations: 43.61 kB / 1.12 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/1.121, allocations: 0 / 1.12 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.83e-05/1.121, allocations: 14.28 kB / 1.12 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/1.121, allocations: 0.75 kB / 1.12 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006601/1.122, allocations: 0.8127 MB / 1.121 GB, free: 28.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/1.122, allocations: 0.6799 MB / 1.121 GB, free: 27.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.179e-05/1.122, allocations: 6.984 kB / 1.121 GB, free: 27.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/1.122, allocations: 14.69 kB / 1.121 GB, free: 27.39 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/1.122, allocations: 4 kB / 1.121 GB, free: 27.39 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01178/1.134, allocations: 1.899 MB / 1.123 GB, free: 27.19 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/1.134, allocations: 255.5 kB / 1.123 GB, free: 26.86 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.86, allocations: 3.125 kB / 1.123 GB, free: 26.86 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)