Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 3.097/3.097, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.001577/0.001577, allocations: 190.9 kB / 370.8 MB, free: 10.87 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.317/2.317, allocations: 205.4 MB / 0.6295 GB, free: 10.66 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.001149/0.001149, allocations: 89.34 kB / 0.7428 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007152/0.0007155, allocations: 19.41 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2571, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001382/0.2586, allocations: 0.9337 MB / 0.9792 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008647/0.2595, allocations: 378.6 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.2595, allocations: 3.938 kB / 0.9796 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.2596, allocations: 0 / 0.9796 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.497e-05/0.2596, allocations: 4 kB / 0.9796 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004782/0.2601, allocations: 67.78 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.435e-05/0.2602, allocations: 8 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.2602, allocations: 7.984 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.178e-05/0.2603, allocations: 7.938 kB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.108e-05/0.2603, allocations: 11.98 kB / 0.9797 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.2603, allocations: 4 kB / 0.9797 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.2605, allocations: 67.81 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.2605, allocations: 3.984 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.2606, allocations: 29.7 kB / 0.9798 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.2607, allocations: 63.89 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2607, allocations: 0 / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2608, allocations: 0 / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2608, allocations: 0 / 0.9798 GB, free: 26.73 MB / 0.6198 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.0004129/0.2612, allocations: 343.5 kB / 0.9801 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.2613, allocations: 12.02 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.224e-05/0.2613, allocations: 38.56 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.2614, allocations: 3.938 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.017e-05/0.2615, allocations: 167 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.2615, allocations: 7.938 kB / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.2615, allocations: 0 / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.2616, allocations: 45.62 kB / 0.9804 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.2617, allocations: 0 / 0.9804 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.2617, allocations: 0 / 0.9804 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2617, allocations: 4 kB / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.569e-05/0.2617, allocations: 7.984 kB / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.2621, allocations: 248.9 kB / 0.9807 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.526e-05/0.2622, allocations: 34.52 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.2622, allocations: 0 / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.2624, allocations: 59.48 kB / 0.9807 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.904e-06/0.2624, allocations: 0 / 0.9807 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002389/0.2627, allocations: 81.52 kB / 0.9808 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.2627, allocations: 55.41 kB / 0.9809 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.86e-05/0.2628, allocations: 93.86 kB / 0.981 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.2628, allocations: 29.7 kB / 0.981 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.33e-05/0.2628, allocations: 80.14 kB / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.2629, allocations: 19.8 kB / 0.9811 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.2629, allocations: 4 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.815e-05/0.263, allocations: 318.8 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.664e-05/0.263, allocations: 4 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.512e-05/0.263, allocations: 35.42 kB / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.135e-05/0.2631, allocations: 16.17 kB / 0.9814 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2631, allocations: 4 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001297/0.2632, allocations: 73.55 kB / 0.9815 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2633, allocations: 8 kB / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2633, allocations: 0 / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2633, allocations: 0 / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.696e-05/0.2634, allocations: 8 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.2634, allocations: 0 / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.783e-05/0.2635, allocations: 11.92 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.2635, allocations: 8.156 kB / 0.9816 GB, free: 24.71 MB / 0.6198 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.88e-05/0.2636, allocations: 119.9 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.2636, allocations: 7.906 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.2636, allocations: 7.562 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.2637, allocations: 0 / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2637, allocations: 3.938 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2637, allocations: 0 / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.264, allocations: 306.8 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.264, allocations: 64 / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.264, allocations: 8 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.264, allocations: 4 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.264, allocations: 0 / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2641, allocations: 0 / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.2641, allocations: 7.984 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.2642, allocations: 167.4 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.2643, allocations: 77.11 kB / 0.9822 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.2643, allocations: 4 kB / 0.9822 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.2644, allocations: 0 / 0.9822 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.2644, allocations: 11.98 kB / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.2644, allocations: 0 / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.797e-05/0.2645, allocations: 79.28 kB / 0.9823 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2645, allocations: 0 / 0.9823 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003928/0.2649, allocations: 31.98 kB / 0.9824 GB, free: 23.8 MB / 0.6198 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.0006904/0.2656, allocations: 0.7716 MB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.2657, allocations: 31.92 kB / 0.9831 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2657, allocations: 3.938 kB / 0.9831 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.472e-05/0.2658, allocations: 16.12 kB / 0.9832 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.266, allocations: 0 / 0.9832 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006895/0.2667, allocations: 0.8057 MB / 0.9839 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.2668, allocations: 0.677 MB / 0.9846 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.344e-05/0.2669, allocations: 4 kB / 0.9846 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.2669, allocations: 11.44 kB / 0.9846 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of SimCode: time 2.565e-06/0.2669, allocations: 0 / 0.9846 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.2879, allocations: 1.716 MB / 0.9863 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002691/0.2883, allocations: 246.4 kB / 0.9865 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/2.788, allocations: 0 / 0.9865 GB, free: 19.59 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)