Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",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.001344/0.001344, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001065/0.001065, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.305/1.305, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.638/1.638, allocations: 292.3 MB / 0.5486 GB, free: 13.6 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.001519/0.00152, allocations: 68.84 kB / 0.6711 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2228, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002692/0.2256, allocations: 1.294 MB / 0.7842 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009115/0.2265, allocations: 440.5 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.2265, allocations: 0 / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.2266, allocations: 7.938 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.497e-05/0.2266, allocations: 0 / 0.7847 GB, free: 12.05 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0005804/0.2272, allocations: 99.7 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.927e-05/0.2273, allocations: 16 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.2274, allocations: 11.97 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.2e-05/0.2274, allocations: 4 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.839e-05/0.2274, allocations: 15.92 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.2274, allocations: 4 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.2277, allocations: 103.8 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.2277, allocations: 7.922 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.2277, allocations: 11.94 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.2279, allocations: 95.8 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2279, allocations: 0 / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2279, allocations: 0 / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.228, allocations: 4 kB / 0.785 GB, free: 11.69 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.0005165/0.2285, allocations: 385.4 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2285, allocations: 8.031 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.957e-05/0.2286, allocations: 30.75 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.2286, allocations: 12.78 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.2288, allocations: 168.4 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.2288, allocations: 4.375 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.2288, allocations: 384 / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.2289, allocations: 46.25 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.2289, allocations: 3.938 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.2289, allocations: 0 / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.229, allocations: 0 / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.368e-05/0.229, allocations: 7.984 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.2293, allocations: 248.9 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.959e-05/0.2294, allocations: 42.5 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.2295, allocations: 16.86 kB / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.2295, allocations: 0 / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.2296, allocations: 71.47 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.2296, allocations: 0 / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002088/0.2299, allocations: 73.53 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.2299, allocations: 59.38 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.3e-05/0.23, allocations: 105.9 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.23, allocations: 33.64 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.2301, allocations: 92.12 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.2301, allocations: 11.81 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.2301, allocations: 21.72 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2302, allocations: 318.8 kB / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-05/0.2303, allocations: 4 kB / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.869e-05/0.2303, allocations: 43.36 kB / 0.7867 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.044e-05/0.2304, allocations: 47.38 kB / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2304, allocations: 3.938 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001056/0.2305, allocations: 77.55 kB / 0.7869 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2305, allocations: 4 kB / 0.7869 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2305, allocations: 4.062 kB / 0.7869 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2306, allocations: 4 kB / 0.7869 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.447e-05/0.2306, allocations: 4 kB / 0.7869 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2306, allocations: 4 kB / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.271e-05/0.2307, allocations: 4 kB / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.2307, allocations: 7.984 kB / 0.7869 GB, free: 9.492 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.101e-05/0.2308, allocations: 113.8 kB / 0.787 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.2308, allocations: 11.84 kB / 0.787 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.054e-05/0.2308, allocations: 3.969 kB / 0.787 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.2308, allocations: 8 kB / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2308, allocations: 0 / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2308, allocations: 0 / 0.787 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.2311, allocations: 298.6 kB / 0.7873 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2311, allocations: 0.5625 kB / 0.7873 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.82e-05/0.2311, allocations: 4 kB / 0.7873 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2311, allocations: 0 / 0.7873 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.2311, allocations: 4 kB / 0.7873 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2312, allocations: 3.984 kB / 0.7873 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2312, allocations: 0 / 0.7873 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.2313, allocations: 171.3 kB / 0.7875 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.2314, allocations: 85.05 kB / 0.7876 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.2314, allocations: 0 / 0.7876 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.975e-05/0.2314, allocations: 11.98 kB / 0.7876 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.2315, allocations: 4 kB / 0.7876 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.2315, allocations: 0 / 0.7876 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.594e-05/0.2315, allocations: 83.22 kB / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2315, allocations: 4 kB / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002964/0.2318, allocations: 43.92 kB / 0.7877 GB, free: 8.555 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.0006704/0.2325, allocations: 0.7699 MB / 0.7885 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.2326, allocations: 32.23 kB / 0.7885 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2326, allocations: 0 / 0.7885 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.893e-05/0.2327, allocations: 15.98 kB / 0.7885 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.2329, allocations: 8 kB / 0.7885 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.234, allocations: 1.296 MB / 0.7898 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.2342, allocations: 0.6807 MB / 0.7904 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.969e-05/0.2342, allocations: 7.922 kB / 0.7904 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.2343, allocations: 11.44 kB / 0.7905 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2343, allocations: 0 / 0.7905 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01094/0.2452, allocations: 1.994 MB / 0.7924 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.2455, allocations: 245.7 kB / 0.7926 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/2.097, allocations: 4.062 kB / 0.7926 GB, free: 3.465 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)