Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.766/1.766, allocations: 288.4 MB / 303.3 MB, free: 8.137 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.001129/0.001129, allocations: 179.1 kB / 372 MB, free: 10.27 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.764/1.764, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0009039/0.0009036, allocations: 94.86 kB / 0.744 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006724/0.0006725, allocations: 15.38 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3079, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.0015/0.3095, allocations: 0.9278 MB / 0.9805 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008691/0.3104, allocations: 380.8 kB / 0.9809 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.104e-05/0.3105, allocations: 3.938 kB / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.3105, allocations: 0 / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.465e-05/0.3106, allocations: 0 / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005653/0.3111, allocations: 79.78 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.9e-05/0.3112, allocations: 11.98 kB / 0.981 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.722e-05/0.3113, allocations: 4 kB / 0.981 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.137e-05/0.3113, allocations: 8 kB / 0.981 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.544e-05/0.3114, allocations: 15.86 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.3114, allocations: 0 / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.3116, allocations: 87.84 kB / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.3116, allocations: 3.984 kB / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.3116, allocations: 29.7 kB / 0.9811 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.3118, allocations: 59.91 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.3118, allocations: 0 / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.577e-06/0.3118, allocations: 0 / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3118, allocations: 0 / 0.9812 GB, free: 25.95 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.000511/0.3123, allocations: 347.5 kB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.201e-05/0.3124, allocations: 8.031 kB / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.615e-05/0.3125, allocations: 38.55 kB / 0.9816 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.3126, allocations: 0 / 0.9816 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.3127, allocations: 163 kB / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.3127, allocations: 4 kB / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.3127, allocations: 0 / 0.9817 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.3128, allocations: 49.61 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3129, allocations: 4 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3129, allocations: 0 / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.3129, allocations: 0 / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.001e-05/0.3129, allocations: 4 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.3133, allocations: 248.9 kB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.936e-05/0.3134, allocations: 42.44 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.635e-05/0.3134, allocations: 20.86 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.3134, allocations: 0 / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.3136, allocations: 55.48 kB / 0.9821 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.3136, allocations: 0 / 0.9821 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002143/0.3138, allocations: 73.59 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.3139, allocations: 63.33 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.39e-05/0.3139, allocations: 105.8 kB / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.314, allocations: 29.7 kB / 0.9824 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.444e-05/0.314, allocations: 80.14 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.314, allocations: 15.8 kB / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.314, allocations: 4 kB / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.512e-05/0.3141, allocations: 314.8 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.964e-05/0.3141, allocations: 8 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.748e-05/0.3142, allocations: 39.41 kB / 0.9828 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.094e-05/0.3142, allocations: 16 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3142, allocations: 0 / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.623e-05/0.3143, allocations: 73.55 kB / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3143, allocations: 8 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3143, allocations: 0 / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3144, allocations: 0 / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.3144, allocations: 8 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.3144, allocations: 8.062 kB / 0.9829 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.3145, allocations: 4.188 kB / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.3145, allocations: 7.984 kB / 0.983 GB, free: 23.91 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 7.152e-05/0.3146, allocations: 113.8 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.3146, allocations: 11.91 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.3146, allocations: 11.5 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3146, allocations: 0 / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3146, allocations: 0 / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3147, allocations: 0 / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.3149, allocations: 306.6 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3149, allocations: 0 / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.3149, allocations: 4 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3149, allocations: 0 / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3149, allocations: 0 / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3149, allocations: 3.938 kB / 0.9834 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3149, allocations: 4 kB / 0.9834 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.3151, allocations: 167.4 kB / 0.9836 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.3151, allocations: 81.11 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.3151, allocations: 0 / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.986e-05/0.3152, allocations: 0 / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.3152, allocations: 11.98 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3152, allocations: 0 / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.757e-05/0.3152, allocations: 79.28 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3153, allocations: 3.938 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002829/0.3155, allocations: 28 kB / 0.9837 GB, free: 23 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.0007036/0.3162, allocations: 0.7768 MB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.3164, allocations: 35.94 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3164, allocations: 0 / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.628e-05/0.3164, allocations: 20.11 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.3167, allocations: 2.25 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007144/0.3174, allocations: 413 kB / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.3176, allocations: 0.6747 MB / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.744e-05/0.3177, allocations: 8.078 kB / 0.9856 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.3177, allocations: 11.38 kB / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.3177, allocations: 4 kB / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/0.3304, allocations: 1.733 MB / 0.9873 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.3307, allocations: 262.5 kB / 0.9876 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.021, allocations: 0 / 0.9876 GB, free: 19.09 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)