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.754/1.754, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001402/0.001402, allocations: 184.9 kB / 371.6 MB, free: 3.391 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.71/1.71, allocations: 205.1 MB / 0.6309 GB, free: 11.73 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.0009585/0.0009585, allocations: 87.48 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.877e-05/3.88e-05, allocations: 0 / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3183, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9224/1.241, allocations: 139.1 MB / 1.116 GB, free: 44.57 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/1.241, allocations: 79.58 kB / 1.116 GB, free: 44.54 MB / 0.7448 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.005267/1.246, allocations: 2.077 MB / 1.118 GB, free: 43.31 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.785e-06/1.246, allocations: 4.469 kB / 1.118 GB, free: 43.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.644e-06/1.246, allocations: 0 / 1.118 GB, free: 43.3 MB / 0.7448 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.0003424/1.247, allocations: 349.6 kB / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/1.247, allocations: 12.03 kB / 1.118 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.726e-05/1.247, allocations: 33.94 kB / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/1.247, allocations: 2.469 kB / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/1.247, allocations: 170.5 kB / 1.118 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/1.247, allocations: 3.812 kB / 1.118 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/1.247, allocations: 4.625 kB / 1.118 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/1.247, allocations: 34.45 kB / 1.118 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/1.247, allocations: 4.938 kB / 1.118 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/1.247, allocations: 0.5312 kB / 1.118 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/1.247, allocations: 5.156 kB / 1.118 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.158e-05/1.247, allocations: 9.062 kB / 1.118 GB, free: 42.63 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/1.248, allocations: 250.8 kB / 1.119 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.792e-05/1.248, allocations: 36.73 kB / 1.119 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/1.248, allocations: 16.38 kB / 1.119 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/1.248, allocations: 0 / 1.119 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/1.248, allocations: 63.28 kB / 1.119 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/1.248, allocations: 1.219 kB / 1.119 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0001823/1.248, allocations: 61.36 kB / 1.119 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/1.248, allocations: 54.64 kB / 1.119 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.966e-05/1.248, allocations: 89.78 kB / 1.119 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/1.248, allocations: 33.58 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.064e-05/1.248, allocations: 80.14 kB / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/1.248, allocations: 15 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/1.248, allocations: 1.75 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.328e-05/1.248, allocations: 318.8 kB / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.875e-05/1.248, allocations: 11.88 kB / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.075e-05/1.248, allocations: 37.08 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.855e-05/1.248, allocations: 16.5 kB / 1.119 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.248, allocations: 0 / 1.119 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.524e-05/1.249, allocations: 78.14 kB / 1.12 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/1.249, allocations: 4 kB / 1.12 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/1.249, allocations: 0 / 1.12 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/1.249, allocations: 4.625 kB / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.853e-05/1.249, allocations: 11.94 kB / 1.12 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/1.249, allocations: 3.422 kB / 1.12 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.614e-05/1.249, allocations: 15.78 kB / 1.12 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/1.249, allocations: 4.656 kB / 1.12 GB, free: 41.43 MB / 0.7448 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 4.367e-05/1.249, allocations: 110.6 kB / 1.12 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-06/1.249, allocations: 0.75 kB / 1.12 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/1.249, allocations: 8.031 kB / 1.12 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/1.249, allocations: 0 / 1.12 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.249, allocations: 4 kB / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/1.249, allocations: 0 / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/1.249, allocations: 306.5 kB / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.249, allocations: 0 / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.904e-05/1.249, allocations: 3.422 kB / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/1.249, allocations: 4.75 kB / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/1.249, allocations: 0 / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/1.249, allocations: 0 / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.249, allocations: 0.8594 kB / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/1.249, allocations: 170.3 kB / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/1.249, allocations: 81.11 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/1.249, allocations: 4.5 kB / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.999e-05/1.249, allocations: 0 / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/1.249, allocations: 7.969 kB / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/1.249, allocations: 4.562 kB / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.532e-05/1.249, allocations: 79.98 kB / 1.12 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.249, allocations: 0 / 1.12 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002781/1.25, allocations: 43.28 kB / 1.12 GB, free: 40.59 MB / 0.7448 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.000676/1.25, allocations: 0.7842 MB / 1.121 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001045/1.25, allocations: 24.62 kB / 1.121 GB, free: 39.81 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.25, allocations: 0 / 1.121 GB, free: 39.81 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.843e-05/1.251, allocations: 23.06 kB / 1.121 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/1.251, allocations: 5.438 kB / 1.121 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/1.251, allocations: 116 kB / 1.121 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/1.251, allocations: 0.6842 MB / 1.122 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.768e-05/1.251, allocations: 3.422 kB / 1.122 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/1.251, allocations: 16.03 kB / 1.122 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/1.251, allocations: 0 / 1.122 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/1.264, allocations: 1.917 MB / 1.124 GB, free: 37.9 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/1.265, allocations: 209.3 kB / 1.124 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/3.001, allocations: 0 / 1.124 GB, free: 37.68 MB / 0.7448 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)