Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.WeibullVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.757/1.757, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001219/0.001219, allocations: 195.9 kB / 377.1 MB, free: 1.512 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.758/1.758, allocations: 205.4 MB / 0.6366 GB, free: 8.555 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.0009984/0.0009986, allocations: 93.34 kB / 0.7509 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004215/0.0004215, allocations: 8 kB / 0.8748 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.313, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.819/1.132, allocations: 139.2 MB / 1.124 GB, free: 35.5 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/1.132, allocations: 70.59 kB / 1.124 GB, free: 35.44 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.005863/1.138, allocations: 2.097 MB / 1.126 GB, free: 33.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.093e-06/1.138, allocations: 0.875 kB / 1.126 GB, free: 33.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.983e-06/1.138, allocations: 0 / 1.126 GB, free: 33.91 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.0003991/1.139, allocations: 356.6 kB / 1.127 GB, free: 33.53 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/1.139, allocations: 13.17 kB / 1.127 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.311e-05/1.139, allocations: 42.08 kB / 1.127 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/1.139, allocations: 3.891 kB / 1.127 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/1.139, allocations: 163.5 kB / 1.127 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/1.139, allocations: 7.938 kB / 1.127 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/1.139, allocations: 5.25 kB / 1.127 GB, free: 33.26 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/1.139, allocations: 42.66 kB / 1.127 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.139, allocations: 0 / 1.127 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/1.139, allocations: 0.5625 kB / 1.127 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.139, allocations: 0.8438 kB / 1.127 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.362e-05/1.139, allocations: 8 kB / 1.127 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/1.14, allocations: 249.5 kB / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.77e-05/1.14, allocations: 41.56 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/1.14, allocations: 3.938 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/1.14, allocations: 55.5 kB / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/1.14, allocations: 0 / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0002367/1.14, allocations: 77.09 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/1.14, allocations: 55.02 kB / 1.128 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.356e-05/1.14, allocations: 97.56 kB / 1.128 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/1.14, allocations: 29.7 kB / 1.128 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/1.14, allocations: 84.12 kB / 1.128 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/1.14, allocations: 15.38 kB / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/1.141, allocations: 0 / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.141, allocations: 322.8 kB / 1.128 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.979e-05/1.141, allocations: 4 kB / 1.128 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.264e-05/1.141, allocations: 36.3 kB / 1.128 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.398e-05/1.141, allocations: 16.52 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.141, allocations: 0 / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001382/1.141, allocations: 78.39 kB / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/1.141, allocations: 4 kB / 1.128 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.141, allocations: 4 kB / 1.128 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/1.141, allocations: 0 / 1.128 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.219e-05/1.141, allocations: 11.52 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/1.141, allocations: 0.7031 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/1.141, allocations: 13 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/1.141, allocations: 0 / 1.128 GB, free: 31.97 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 0.0001054/1.141, allocations: 126.4 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/1.141, allocations: 0 / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/1.141, allocations: 11.03 kB / 1.128 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.141, allocations: 0 / 1.128 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/1.141, allocations: 0.5625 kB / 1.128 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/1.141, allocations: 0 / 1.128 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/1.142, allocations: 298.5 kB / 1.129 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.142, allocations: 0 / 1.129 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/1.142, allocations: 8.5 kB / 1.129 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/1.142, allocations: 0 / 1.129 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/1.142, allocations: 4 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.142, allocations: 3.938 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.142, allocations: 1.125 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/1.142, allocations: 170.3 kB / 1.129 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/1.142, allocations: 82.14 kB / 1.129 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/1.142, allocations: 3.469 kB / 1.129 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.644e-05/1.142, allocations: 4 kB / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/1.142, allocations: 5.625 kB / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/1.142, allocations: 0 / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.614e-05/1.142, allocations: 82.61 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.142, allocations: 0 / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000338/1.143, allocations: 36 kB / 1.129 GB, free: 31.09 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.0007273/1.143, allocations: 0.7902 MB / 1.13 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001184/1.143, allocations: 27.36 kB / 1.13 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.143, allocations: 0 / 1.13 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.412e-05/1.144, allocations: 16 kB / 1.13 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/1.144, allocations: 3.469 kB / 1.13 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006404/1.144, allocations: 0.8148 MB / 1.131 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/1.144, allocations: 0.6805 MB / 1.131 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.697e-05/1.145, allocations: 4 kB / 1.131 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/1.145, allocations: 14.91 kB / 1.131 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/1.145, allocations: 1.219 kB / 1.131 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01251/1.157, allocations: 1.892 MB / 1.133 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/1.157, allocations: 240.1 kB / 1.133 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.79, allocations: 0 / 1.133 GB, free: 27.43 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)