Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.Weibull1DON,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",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.001028/0.001028, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001184/0.001184, allocations: 192.2 kB / 16.25 MB, free: 6.629 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.411/1.411, allocations: 205.1 MB / 222.1 MB, free: 4.75 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.63/1.63, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001416/0.001416, allocations: 69.47 kB / 0.6711 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.237, allocations: 114.6 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002554/0.2396, allocations: 1.294 MB / 0.7842 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.2406, allocations: 440.5 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.001e-05/0.2406, allocations: 0 / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.001e-05/0.2407, allocations: 11.81 kB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.897e-05/0.2407, allocations: 4 kB / 0.7847 GB, free: 12.08 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.0005902/0.2413, allocations: 99.77 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.219e-05/0.2414, allocations: 23.92 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.2415, allocations: 0 / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.248e-05/0.2415, allocations: 4 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.48e-05/0.2415, allocations: 15.92 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.2416, allocations: 4 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.2418, allocations: 99.89 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.2418, allocations: 7.938 kB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.2419, allocations: 11.92 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.242, allocations: 95.75 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2421, allocations: 4 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2421, allocations: 0 / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.2421, allocations: 0 / 0.785 GB, free: 11.72 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.0005391/0.2426, allocations: 393.4 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2427, allocations: 8.031 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/0.2427, allocations: 30.75 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.2428, allocations: 8.844 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.2429, allocations: 164.4 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.2429, allocations: 8.375 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.2429, allocations: 4.375 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.243, allocations: 42.19 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.2431, allocations: 3.938 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.2431, allocations: 0 / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.2431, allocations: 0 / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.557e-05/0.2431, allocations: 11.98 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.2435, allocations: 244.9 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.346e-05/0.2436, allocations: 42.5 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.2436, allocations: 16.86 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.2436, allocations: 3.938 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.2438, allocations: 59.48 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.2438, allocations: 0 / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.00021/0.244, allocations: 77.59 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.2441, allocations: 55.39 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.042e-05/0.2441, allocations: 102.1 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2442, allocations: 25.7 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.2442, allocations: 100.1 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.2442, allocations: 11.75 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.2443, allocations: 25.72 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.2444, allocations: 314.8 kB / 0.7867 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.134e-05/0.2444, allocations: 12.25 kB / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/0.2445, allocations: 39.36 kB / 0.7867 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.649e-05/0.2445, allocations: 51.38 kB / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2445, allocations: 3.938 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.707e-05/0.2446, allocations: 77.59 kB / 0.7869 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2447, allocations: 8 kB / 0.7869 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2447, allocations: 0 / 0.7869 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2447, allocations: 0 / 0.7869 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.665e-05/0.2447, allocations: 8 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2448, allocations: 7.938 kB / 0.7869 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/0.2448, allocations: 3.984 kB / 0.7869 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.2448, allocations: 4 kB / 0.7869 GB, free: 9.523 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.666e-05/0.2449, allocations: 117.8 kB / 0.787 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.2449, allocations: 7.969 kB / 0.787 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.2449, allocations: 7.969 kB / 0.787 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2449, allocations: 4 kB / 0.787 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.245, allocations: 0 / 0.787 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.245, allocations: 0 / 0.787 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.2452, allocations: 306.5 kB / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2452, allocations: 0 / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.65e-05/0.2453, allocations: 4 kB / 0.7873 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2453, allocations: 0 / 0.7873 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.2453, allocations: 7.984 kB / 0.7873 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2453, allocations: 0 / 0.7873 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2453, allocations: 0 / 0.7873 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.2455, allocations: 163.4 kB / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.2455, allocations: 85.05 kB / 0.7876 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.2455, allocations: 3.984 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.141e-05/0.2456, allocations: 4 kB / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.2456, allocations: 4.125 kB / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.2456, allocations: 8 kB / 0.7876 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.923e-05/0.2457, allocations: 91.2 kB / 0.7877 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.483e-06/0.2457, allocations: 0 / 0.7877 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002868/0.246, allocations: 43.88 kB / 0.7877 GB, free: 8.578 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.0006864/0.2466, allocations: 0.7622 MB / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.2468, allocations: 40 kB / 0.7885 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2468, allocations: 0 / 0.7885 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.275e-05/0.2468, allocations: 19.92 kB / 0.7885 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.2471, allocations: 7.234 kB / 0.7885 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.2481, allocations: 1.288 MB / 0.7898 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.2484, allocations: 0.6807 MB / 0.7904 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.878e-05/0.2484, allocations: 0 / 0.7904 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.2484, allocations: 15.44 kB / 0.7905 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2484, allocations: 4 kB / 0.7905 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.2612, allocations: 1.986 MB / 0.7924 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003494/0.2616, allocations: 247.8 kB / 0.7926 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.12, allocations: 0 / 0.7926 GB, free: 3.5 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1)