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.776/1.776, allocations: 288.2 MB / 303.2 MB, free: 8.262 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.001166/0.001166, allocations: 187.6 kB / 371.8 MB, free: 10.26 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.062/2.062, allocations: 205.4 MB / 0.6305 GB, free: 9.984 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.001015/0.001015, allocations: 102.8 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.0004301, allocations: 10.28 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2243, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001021/0.2253, allocations: 0.93 MB / 0.9804 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006466/0.226, allocations: 374.6 kB / 0.9807 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.631e-05/0.226, allocations: 7.938 kB / 0.9807 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.2261, allocations: 0 / 0.9807 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.269e-05/0.2261, allocations: 7.984 kB / 0.9808 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.2265, allocations: 71.8 kB / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.001e-05/0.2266, allocations: 7.984 kB / 0.9808 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.2266, allocations: 0 / 0.9808 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.267e-05/0.2267, allocations: 15.92 kB / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.693e-05/0.2267, allocations: 0 / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.2267, allocations: 4 kB / 0.9809 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.2269, allocations: 71.8 kB / 0.9809 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.2269, allocations: 11.98 kB / 0.9809 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.2269, allocations: 25.7 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.227, allocations: 55.91 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.227, allocations: 4 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2271, allocations: 0 / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.2271, allocations: 0 / 0.981 GB, free: 26.01 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.0003771/0.2274, allocations: 343.5 kB / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2275, allocations: 12.03 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.85e-05/0.2276, allocations: 30.56 kB / 0.9814 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.2276, allocations: 0 / 0.9814 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.302e-05/0.2277, allocations: 175 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.2277, allocations: 3.938 kB / 0.9816 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.2277, allocations: 11.94 kB / 0.9816 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.562e-05/0.2278, allocations: 37.69 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2278, allocations: 0 / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.2279, allocations: 0 / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2279, allocations: 0 / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.609e-05/0.2279, allocations: 11.98 kB / 0.9816 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002704/0.2282, allocations: 244.9 kB / 0.9818 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.327e-05/0.2282, allocations: 38.52 kB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-06/0.2283, allocations: 0 / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.2284, allocations: 59.47 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.2284, allocations: 0 / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0001601/0.2286, allocations: 77.53 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.2286, allocations: 63.39 kB / 0.9821 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.46e-05/0.2287, allocations: 97.86 kB / 0.9822 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.2287, allocations: 25.7 kB / 0.9822 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.519e-05/0.2287, allocations: 84.14 kB / 0.9823 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.2287, allocations: 15.8 kB / 0.9823 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/0.2287, allocations: 0 / 0.9823 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.321e-05/0.2288, allocations: 318.8 kB / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.2288, allocations: 4 kB / 0.9826 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.931e-05/0.2288, allocations: 39.42 kB / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.665e-05/0.2289, allocations: 16.17 kB / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2289, allocations: 0 / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.016e-05/0.2289, allocations: 73.55 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.229, allocations: 8 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.229, allocations: 0 / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.229, allocations: 0 / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.453e-05/0.229, allocations: 16.06 kB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.2291, allocations: 4 kB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.2291, allocations: 3.938 kB / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.2291, allocations: 7.984 kB / 0.9828 GB, free: 23.98 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 4.741e-05/0.2292, allocations: 113.8 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-06/0.2292, allocations: 11.84 kB / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.779e-05/0.2292, allocations: 3.562 kB / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2292, allocations: 3.938 kB / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2292, allocations: 0 / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2292, allocations: 4 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.2294, allocations: 306.8 kB / 0.9832 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2294, allocations: 0 / 0.9832 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.839e-05/0.2294, allocations: 8 kB / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2294, allocations: 0 / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.2294, allocations: 0 / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2294, allocations: 4 kB / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2294, allocations: 0 / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.225e-05/0.2295, allocations: 171.4 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.2296, allocations: 77.11 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.2296, allocations: 0 / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.491e-05/0.2296, allocations: 0 / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.2297, allocations: 7.984 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.2297, allocations: 0 / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.682e-05/0.2297, allocations: 79.28 kB / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2297, allocations: 0 / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002537/0.23, allocations: 28 kB / 0.9835 GB, free: 23.09 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.0004721/0.2304, allocations: 0.7774 MB / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.987e-05/0.2305, allocations: 32 kB / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2305, allocations: 4 kB / 0.9843 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.507e-05/0.2306, allocations: 11.98 kB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/0.2307, allocations: 4.688 kB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.2311, allocations: 0.7977 MB / 0.9851 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.574e-05/0.2312, allocations: 0.6826 MB / 0.9858 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.061e-05/0.2313, allocations: 4 kB / 0.9858 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.2313, allocations: 11.44 kB / 0.9858 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2313, allocations: 4 kB / 0.9858 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01047/0.2418, allocations: 1.729 MB / 0.9875 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.242, allocations: 250.1 kB / 0.9877 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.375/1.617, allocations: 0 / 0.9877 GB, free: 18.77 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)