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.55/1.55, allocations: 252 MB / 267 MB, free: 10.93 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.0009671/0.0009669, allocations: 188.1 kB / 326.6 MB, free: 2.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.4 MB / 0.5777 GB, free: 20.24 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.0009868/0.0009861, allocations: 76.41 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003966, allocations: 7.188 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3102, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001698/0.3119, allocations: 0.9385 MB / 0.9012 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009207/0.3129, allocations: 389.1 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.313, allocations: 0 / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.04e-05/0.313, allocations: 3.938 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.814e-05/0.3131, allocations: 0 / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.3139, allocations: 75.84 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.093e-05/0.314, allocations: 15.92 kB / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.038e-05/0.3141, allocations: 4 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.761e-05/0.3142, allocations: 4 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.435e-05/0.3142, allocations: 11.92 kB / 0.9017 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.3143, allocations: 4 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002796/0.3145, allocations: 83.91 kB / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.3146, allocations: 7.922 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.395e-05/0.3146, allocations: 29.7 kB / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.3148, allocations: 59.91 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3148, allocations: 3.938 kB / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.256e-06/0.3148, allocations: 0 / 0.9019 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.3149, allocations: 0 / 0.9019 GB, free: 62.16 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.0005546/0.3154, allocations: 335.4 kB / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.3155, allocations: 8.031 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.078e-05/0.3156, allocations: 38.55 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.3157, allocations: 11.91 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3158, allocations: 167 kB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.3158, allocations: 0 / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.3159, allocations: 4 kB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.316, allocations: 41.67 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.316, allocations: 7.938 kB / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3161, allocations: 3.984 kB / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3161, allocations: 0 / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.659e-05/0.3161, allocations: 4 kB / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.3165, allocations: 253.2 kB / 0.9027 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.72e-05/0.3167, allocations: 30.56 kB / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.3167, allocations: 16.86 kB / 0.9027 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.3167, allocations: 3.938 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.3169, allocations: 67.42 kB / 0.9028 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.3169, allocations: 0 / 0.9028 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0002432/0.3171, allocations: 69.69 kB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.3172, allocations: 55.39 kB / 0.9029 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.876e-05/0.3173, allocations: 101.8 kB / 0.903 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.3173, allocations: 25.7 kB / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.3173, allocations: 88.14 kB / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.3174, allocations: 19.73 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.3174, allocations: 0 / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.348e-05/0.3175, allocations: 318.8 kB / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.3175, allocations: 7.938 kB / 0.9035 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-05/0.3175, allocations: 35.42 kB / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.29e-05/0.3176, allocations: 12 kB / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3176, allocations: 4 kB / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.641e-05/0.3177, allocations: 73.61 kB / 0.9036 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3177, allocations: 4 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3177, allocations: 4 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3177, allocations: 0 / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.509e-05/0.3178, allocations: 11.94 kB / 0.9036 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.3178, allocations: 0 / 0.9036 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/0.3179, allocations: 7.906 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.3179, allocations: 3.953 kB / 0.9036 GB, free: 60.12 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 ($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 8.037e-05/0.318, allocations: 121.9 kB / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.318, allocations: 0 / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.318, allocations: 7.844 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.318, allocations: 0 / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.318, allocations: 0 / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3181, allocations: 3.984 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.3183, allocations: 314.4 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3183, allocations: 0 / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/0.3183, allocations: 4.312 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3183, allocations: 4 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.3184, allocations: 4 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3184, allocations: 0 / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3184, allocations: 0 / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.3185, allocations: 167.4 kB / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.3186, allocations: 85.02 kB / 0.9043 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.3186, allocations: 3.938 kB / 0.9043 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.48e-05/0.3186, allocations: 0 / 0.9043 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.3187, allocations: 7.984 kB / 0.9043 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.3187, allocations: 4 kB / 0.9043 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.458e-05/0.3187, allocations: 79.28 kB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.3187, allocations: 0 / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003076/0.319, allocations: 31.95 kB / 0.9044 GB, free: 59.2 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 (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.000668/0.3197, allocations: 0.7683 MB / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.3199, allocations: 31.98 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3199, allocations: 0 / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.634e-05/0.3199, allocations: 19.92 kB / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.3201, allocations: 4 kB / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007065/0.3208, allocations: 418.2 kB / 0.9056 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.321, allocations: 0.6731 MB / 0.9063 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.899e-05/0.3211, allocations: 12.23 kB / 0.9063 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.3211, allocations: 11.44 kB / 0.9063 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of SimCode: time 6.71e-07/0.3211, allocations: 0 / 0.9063 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.335, allocations: 1.73 MB / 0.908 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.3352, allocations: 252 kB / 0.9082 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.221, allocations: 6.344 kB / 0.9082 GB, free: 55.29 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)