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 1.782/1.782, allocations: 287.4 MB / 302.6 MB, free: 8.238 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.001911/0.001911, allocations: 174.4 kB / 371.1 MB, free: 10.74 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.571/1.571, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.001056/0.001055, allocations: 83.48 kB / 0.7431 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003702, allocations: 10.09 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.209, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001027/0.2101, allocations: 0.9353 MB / 0.9796 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005961/0.2107, allocations: 372 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.2107, allocations: 0 / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.2108, allocations: 0 / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.023e-05/0.2108, allocations: 3.938 kB / 0.98 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.2112, allocations: 79.84 kB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.029e-05/0.2113, allocations: 15.92 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.2113, allocations: 4 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.719e-05/0.2114, allocations: 8 kB / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.425e-05/0.2114, allocations: 11.97 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.2114, allocations: 4 kB / 0.9801 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.2116, allocations: 83.84 kB / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.2116, allocations: 7.938 kB / 0.9802 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.2116, allocations: 29.64 kB / 0.9802 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.2117, allocations: 59.91 kB / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2117, allocations: 3.938 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2117, allocations: 0 / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.267e-06/0.2118, allocations: 0 / 0.9803 GB, free: 26.48 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.000342/0.2121, allocations: 351.7 kB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2122, allocations: 8.031 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.2122, allocations: 30.75 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.2122, allocations: 4.938 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.112e-05/0.2123, allocations: 160.4 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.2123, allocations: 384 / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.2123, allocations: 8.375 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.812e-05/0.2124, allocations: 42.23 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2125, allocations: 7.938 kB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.2125, allocations: 4 kB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2125, allocations: 0 / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.404e-05/0.2125, allocations: 11.94 kB / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.2128, allocations: 241 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.645e-05/0.2129, allocations: 38.48 kB / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.544e-05/0.2129, allocations: 24.94 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.2129, allocations: 4 kB / 0.9812 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.614e-05/0.213, allocations: 67.19 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.213, allocations: 0 / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0001678/0.2132, allocations: 73.67 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.2132, allocations: 51.41 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.49e-05/0.2133, allocations: 101.9 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.2133, allocations: 25.7 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.783e-05/0.2133, allocations: 84.14 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.2133, allocations: 19.78 kB / 0.9816 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.2134, allocations: 0 / 0.9816 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.514e-05/0.2134, allocations: 318.8 kB / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.2134, allocations: 7.984 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.335e-05/0.2135, allocations: 35.38 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.723e-05/0.2135, allocations: 47.42 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2135, allocations: 11.88 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.123e-05/0.2136, allocations: 65.62 kB / 0.9821 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.2136, allocations: 4 kB / 0.9821 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2136, allocations: 0 / 0.9821 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2137, allocations: 4.062 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.622e-05/0.2137, allocations: 19.98 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.2137, allocations: 0 / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.445e-05/0.2138, allocations: 3.938 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.2138, allocations: 7.938 kB / 0.9821 GB, free: 24.38 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 5.269e-05/0.2138, allocations: 125.7 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-06/0.2139, allocations: 3.906 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.824e-05/0.2139, allocations: 3.562 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.2139, allocations: 4 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2139, allocations: 4 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2139, allocations: 3.984 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.2141, allocations: 290.6 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2141, allocations: 4 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.2141, allocations: 8.219 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2141, allocations: 4 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.2141, allocations: 3.984 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2141, allocations: 320 / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2141, allocations: 0 / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.284e-05/0.2142, allocations: 171.5 kB / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.2142, allocations: 81.05 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.2143, allocations: 7.984 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.091e-05/0.2143, allocations: 0 / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.2143, allocations: 0 / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.2144, allocations: 4 kB / 0.9828 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.79e-05/0.2144, allocations: 75.28 kB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2144, allocations: 0 / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002497/0.2146, allocations: 39.92 kB / 0.9829 GB, free: 23.47 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.0004614/0.2151, allocations: 0.7657 MB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.1e-05/0.2152, allocations: 35.92 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2152, allocations: 0 / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.69e-05/0.2153, allocations: 12 kB / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.2154, allocations: 14.39 kB / 0.9837 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.2159, allocations: 403 kB / 0.9841 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.2161, allocations: 0.677 MB / 0.9847 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.529e-05/0.2161, allocations: 7.906 kB / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.2161, allocations: 15.44 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2161, allocations: 0 / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01214/0.2283, allocations: 1.727 MB / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.2285, allocations: 243.3 kB / 0.9867 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/1.82, allocations: 4 kB / 0.9867 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)