Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.32/1.32, allocations: 251.5 MB / 266.7 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009437/0.0009436, allocations: 171 kB / 325.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205 MB / 0.576 GB, free: 20.94 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001075, allocations: 92.7 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003585, allocations: 9.406 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2821, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001497/0.2836, allocations: 0.9511 MB / 0.8971 GB, free: 67.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008616/0.2845, allocations: 424.3 kB / 0.8975 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/0.2845, allocations: 0 / 0.8975 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.31e-05/0.2846, allocations: 0 / 0.8975 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.407e-05/0.2846, allocations: 0 / 0.8975 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.2851, allocations: 83.78 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.707e-05/0.2852, allocations: 11.98 kB / 0.8976 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.389e-05/0.2852, allocations: 4 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.442e-05/0.2853, allocations: 8 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.766e-05/0.2853, allocations: 7.922 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.2853, allocations: 4 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.2855, allocations: 95.84 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.2855, allocations: 3.984 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.2856, allocations: 15.92 kB / 0.8977 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.2857, allocations: 80.11 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2857, allocations: 0 / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.414e-06/0.2858, allocations: 3.938 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.2858, allocations: 0 / 0.8978 GB, free: 66.41 MB / 0.6042 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.0004345/0.2862, allocations: 335.5 kB / 0.8981 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.2863, allocations: 12.03 kB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.636e-05/0.2863, allocations: 42.73 kB / 0.8982 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.2864, allocations: 4.844 kB / 0.8982 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.372e-05/0.2865, allocations: 168.3 kB / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.2865, allocations: 384 / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.2865, allocations: 8.359 kB / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.2866, allocations: 39.12 kB / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2866, allocations: 3.938 kB / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.2866, allocations: 0 / 0.8984 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2866, allocations: 3.984 kB / 0.8984 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.617e-05/0.2867, allocations: 8 kB / 0.8984 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.287, allocations: 253 kB / 0.8987 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.583e-05/0.2871, allocations: 42.44 kB / 0.8987 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/0.2871, allocations: 12.86 kB / 0.8987 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.2871, allocations: 0 / 0.8987 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.2873, allocations: 67.48 kB / 0.8988 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.2873, allocations: 0 / 0.8988 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0001957/0.2875, allocations: 73.62 kB / 0.8989 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.2875, allocations: 51.41 kB / 0.8989 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.06e-05/0.2876, allocations: 97.84 kB / 0.899 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.2876, allocations: 33.64 kB / 0.899 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.746e-05/0.2876, allocations: 84.14 kB / 0.8991 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.2877, allocations: 11.75 kB / 0.8991 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.2877, allocations: 25.7 kB / 0.8991 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.701e-05/0.2878, allocations: 314.8 kB / 0.8994 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.2878, allocations: 4 kB / 0.8994 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.182e-05/0.2878, allocations: 35.42 kB / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.341e-05/0.2879, allocations: 55.36 kB / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2879, allocations: 3.938 kB / 0.8995 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.198e-05/0.288, allocations: 69.8 kB / 0.8996 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.288, allocations: 8 kB / 0.8996 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.288, allocations: 0 / 0.8996 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.288, allocations: 4.031 kB / 0.8996 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.2881, allocations: 11.98 kB / 0.8996 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.2881, allocations: 4 kB / 0.8996 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.422e-05/0.2881, allocations: 7.906 kB / 0.8996 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.2882, allocations: 8.062 kB / 0.8996 GB, free: 64.29 MB / 0.6042 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 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.551e-05/0.2882, allocations: 117.7 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/0.2882, allocations: 0 / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.2883, allocations: 7.562 kB / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2883, allocations: 0 / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2883, allocations: 0 / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.2883, allocations: 7.984 kB / 0.8998 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.2885, allocations: 294.5 kB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2885, allocations: 4 kB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.682e-05/0.2885, allocations: 4 kB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2885, allocations: 0 / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.2885, allocations: 7.984 kB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2885, allocations: 0 / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2886, allocations: 0 / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.2887, allocations: 171.6 kB / 0.9002 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.2887, allocations: 81.11 kB / 0.9003 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.2887, allocations: 7.984 kB / 0.9003 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.161e-05/0.2888, allocations: 4 kB / 0.9003 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.2888, allocations: 0 / 0.9003 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.2888, allocations: 4 kB / 0.9003 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.316e-05/0.2888, allocations: 79.22 kB / 0.9004 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2888, allocations: 0 / 0.9004 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002443/0.2891, allocations: 35.92 kB / 0.9004 GB, free: 63.38 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005647/0.2897, allocations: 0.7666 MB / 0.9012 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.569e-05/0.2898, allocations: 28.22 kB / 0.9012 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2898, allocations: 0 / 0.9012 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.067e-05/0.2898, allocations: 19.94 kB / 0.9012 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.29, allocations: 8.062 kB / 0.9012 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008029/0.2908, allocations: 1.27 MB / 0.9025 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.291, allocations: 0.677 MB / 0.9031 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.615e-05/0.291, allocations: 8 kB / 0.9031 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.2911, allocations: 11.38 kB / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of SimCode: time 1.103e-06/0.2911, allocations: 4 kB / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.3098, allocations: 1.737 MB / 0.9049 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.3101, allocations: 276.9 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.203, allocations: 0 / 0.9051 GB, free: 58.52 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)