Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008166/0.0008168, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005602/0.005602, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.635/1.635, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007658/0.000766, allocations: 20.84 kB / 0.6744 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2198, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001245/0.2211, allocations: 0.947 MB / 0.7889 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008775/0.222, allocations: 396.8 kB / 0.7893 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.737e-05/0.222, allocations: 0 / 0.7893 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.2221, allocations: 4 kB / 0.7893 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.45e-05/0.2221, allocations: 3.938 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.2225, allocations: 83.84 kB / 0.7894 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.364e-05/0.2226, allocations: 15.92 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.2227, allocations: 3.938 kB / 0.7894 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.102e-05/0.2227, allocations: 8 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.857e-05/0.2227, allocations: 11.92 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.2227, allocations: 0 / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.2229, allocations: 87.91 kB / 0.7895 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.223, allocations: 7.969 kB / 0.7895 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.223, allocations: 37.7 kB / 0.7895 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.2232, allocations: 87.77 kB / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.2232, allocations: 0 / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2232, allocations: 0 / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2232, allocations: 0 / 0.7896 GB, free: 9.82 MB / 0.6075 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.0004019/0.2236, allocations: 339.7 kB / 0.79 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2237, allocations: 11.97 kB / 0.79 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.191e-05/0.2237, allocations: 38.73 kB / 0.79 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.2238, allocations: 4.938 kB / 0.79 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2239, allocations: 164.4 kB / 0.7902 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.2239, allocations: 384 / 0.7902 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.2239, allocations: 4.375 kB / 0.7902 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.224, allocations: 42.23 kB / 0.7902 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2241, allocations: 7.938 kB / 0.7902 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.2241, allocations: 3.938 kB / 0.7902 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2241, allocations: 0 / 0.7902 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.881e-05/0.2241, allocations: 7.938 kB / 0.7902 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.2245, allocations: 253 kB / 0.7905 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.802e-05/0.2246, allocations: 38.5 kB / 0.7905 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/0.2247, allocations: 8.859 kB / 0.7905 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.2247, allocations: 4 kB / 0.7905 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.2248, allocations: 71.33 kB / 0.7906 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.2248, allocations: 0 / 0.7906 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0001799/0.225, allocations: 69.69 kB / 0.7906 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.2251, allocations: 59.39 kB / 0.7907 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.582e-05/0.2252, allocations: 97.84 kB / 0.7908 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.2252, allocations: 33.7 kB / 0.7908 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.2252, allocations: 80.14 kB / 0.7909 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.2252, allocations: 11.8 kB / 0.7909 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.2253, allocations: 17.72 kB / 0.7909 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.2254, allocations: 314.8 kB / 0.7912 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.439e-05/0.2254, allocations: 15.98 kB / 0.7913 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.424e-05/0.2255, allocations: 35.38 kB / 0.7913 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.494e-05/0.2256, allocations: 47.36 kB / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2256, allocations: 11.94 kB / 0.7913 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001064/0.2257, allocations: 65.62 kB / 0.7914 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.2257, allocations: 4 kB / 0.7914 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2257, allocations: 0 / 0.7914 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2257, allocations: 4 kB / 0.7914 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.105e-05/0.2258, allocations: 11.98 kB / 0.7914 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2258, allocations: 0 / 0.7914 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.2258, allocations: 7.938 kB / 0.7914 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.2259, allocations: 7.938 kB / 0.7914 GB, free: 7.703 MB / 0.6075 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 7.131e-05/0.2259, allocations: 122.4 kB / 0.7916 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-06/0.2259, allocations: 3.906 kB / 0.7916 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.226, allocations: 7.562 kB / 0.7916 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.226, allocations: 7.984 kB / 0.7916 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.226, allocations: 0 / 0.7916 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.226, allocations: 0 / 0.7916 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.2262, allocations: 294.6 kB / 0.7919 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2263, allocations: 0 / 0.7919 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.2263, allocations: 7.938 kB / 0.7919 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2263, allocations: 7.938 kB / 0.7919 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.2263, allocations: 3.984 kB / 0.7919 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2263, allocations: 0 / 0.7919 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2263, allocations: 0 / 0.7919 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.2265, allocations: 159.5 kB / 0.792 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.2265, allocations: 81.11 kB / 0.7921 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.2265, allocations: 7.984 kB / 0.7921 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.795e-05/0.2266, allocations: 384 / 0.7921 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.2266, allocations: 4 kB / 0.7921 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.2266, allocations: 4 kB / 0.7921 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.312e-05/0.2266, allocations: 75.56 kB / 0.7922 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2267, allocations: 4 kB / 0.7922 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002689/0.2269, allocations: 35.92 kB / 0.7922 GB, free: 6.789 MB / 0.6075 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.0006754/0.2276, allocations: 0.7807 MB / 0.793 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.961e-05/0.2277, allocations: 31.92 kB / 0.793 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2277, allocations: 4 kB / 0.793 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.284e-05/0.2278, allocations: 12 kB / 0.793 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.228, allocations: 6.422 kB / 0.793 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.229, allocations: 1.275 MB / 0.7943 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.2293, allocations: 0.6809 MB / 0.795 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.223e-05/0.2293, allocations: 4 kB / 0.795 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.2293, allocations: 11.44 kB / 0.795 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2293, allocations: 0 / 0.795 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01092/0.2403, allocations: 1.718 MB / 0.7966 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/0.2405, allocations: 266.4 kB / 0.7969 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.005, allocations: 0 / 0.7969 GB, free: 1.984 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)