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.702/1.702, allocations: 285.4 MB / 298 MB, free: 5.945 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.001892/0.001892, allocations: 172.8 kB / 366.4 MB, free: 2.086 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.708/1.708, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0008221/0.0008225, allocations: 88.77 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.233e-05/4.265e-05, allocations: 4 kB / 0.8584 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7252/0.7253, allocations: 115.3 MB / 0.971 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2045/0.9298, allocations: 138.1 MB / 1.106 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.9301, allocations: 73.05 kB / 1.106 GB, free: 13.57 MB / 0.7136 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.005873/0.936, allocations: 2.093 MB / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.663e-06/0.936, allocations: 2.719 kB / 1.108 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.9361, allocations: 0 / 1.108 GB, free: 11.5 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.0003703/0.9364, allocations: 346.4 kB / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.9365, allocations: 8.031 kB / 1.108 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.973e-05/0.9366, allocations: 38.55 kB / 1.108 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.9366, allocations: 8.531 kB / 1.108 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.9368, allocations: 167 kB / 1.109 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.9368, allocations: 3.094 kB / 1.109 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.9368, allocations: 4 kB / 1.109 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.937, allocations: 37.69 kB / 1.109 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.937, allocations: 0 / 1.109 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.937, allocations: 4 kB / 1.109 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.937, allocations: 0 / 1.109 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.158e-05/0.9371, allocations: 7.094 kB / 1.109 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.9375, allocations: 251 kB / 1.109 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.268e-05/0.9376, allocations: 39.34 kB / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.9376, allocations: 12.86 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.9376, allocations: 2.25 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.9378, allocations: 57.12 kB / 1.109 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.9378, allocations: 0 / 1.109 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0002092/0.938, allocations: 70.14 kB / 1.109 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.9381, allocations: 56.03 kB / 1.109 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.908e-05/0.9382, allocations: 93.53 kB / 1.109 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.9382, allocations: 30.23 kB / 1.109 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.9383, allocations: 80.83 kB / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.9383, allocations: 11.88 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.9383, allocations: 8.562 kB / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.9385, allocations: 316.7 kB / 1.11 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.9385, allocations: 8 kB / 1.11 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.66e-05/0.9386, allocations: 31.44 kB / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.596e-05/0.9386, allocations: 18.44 kB / 1.11 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.9386, allocations: 7.938 kB / 1.11 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001111/0.9388, allocations: 74.66 kB / 1.11 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.9388, allocations: 7.984 kB / 1.11 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.9388, allocations: 0 / 1.11 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.9388, allocations: 4.719 kB / 1.11 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.147e-05/0.9389, allocations: 8 kB / 1.11 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.9389, allocations: 0.7188 kB / 1.11 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.939, allocations: 7.938 kB / 1.11 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.939, allocations: 1.25 kB / 1.11 GB, free: 9.504 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.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 0.0001338/0.9391, allocations: 116.9 kB / 1.11 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-06/0.9391, allocations: 1.906 kB / 1.11 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.9392, allocations: 9.516 kB / 1.11 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.9392, allocations: 5.812 kB / 1.11 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.9392, allocations: 0 / 1.11 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.9392, allocations: 0 / 1.11 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.9395, allocations: 295.2 kB / 1.11 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9395, allocations: 0.5312 kB / 1.11 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.9395, allocations: 9.953 kB / 1.11 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.9396, allocations: 0 / 1.11 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.9396, allocations: 4 kB / 1.11 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.9396, allocations: 0 / 1.11 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.9396, allocations: 0 / 1.11 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.9398, allocations: 167.3 kB / 1.11 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.9398, allocations: 85.09 kB / 1.11 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.9399, allocations: 0 / 1.11 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.959e-05/0.9399, allocations: 4 kB / 1.11 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.94, allocations: 6.312 kB / 1.11 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.94, allocations: 64 / 1.11 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.529e-05/0.94, allocations: 83.28 kB / 1.11 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.94, allocations: 0 / 1.11 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003389/0.9404, allocations: 43.92 kB / 1.111 GB, free: 8.605 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,$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.0007538/0.9411, allocations: 0.7836 MB / 1.111 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.9413, allocations: 31.94 kB / 1.111 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.9413, allocations: 0 / 1.111 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.564e-05/0.9413, allocations: 19.98 kB / 1.111 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.9414, allocations: 0.75 kB / 1.111 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.9418, allocations: 122.2 kB / 1.111 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.9421, allocations: 0.6927 MB / 1.112 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.678e-05/0.9422, allocations: 7.906 kB / 1.112 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.9422, allocations: 7.438 kB / 1.112 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/0.9422, allocations: 0 / 1.112 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.9593, allocations: 1.93 MB / 1.114 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002862/0.9597, allocations: 215.7 kB / 1.114 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.513, allocations: 0 / 1.114 GB, free: 4.922 MB / 0.7136 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)