Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.428/2.428, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 181.8 kB / 325.5 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.445/2.445, allocations: 205.4 MB / 0.5764 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 109.3 kB / 0.6809 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007167/0.0007167, allocations: 12.69 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2462, allocations: 106.3 MB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2308/0.4771, allocations: 131.8 MB / 1.028 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.4775, allocations: 71.95 kB / 1.028 GB, free: 13.88 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 FrontEnd - DAE generated: time 0.01042/0.4879, allocations: 2.306 MB / 1.03 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4879, allocations: 3.938 kB / 1.03 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.488, allocations: 0 / 1.03 GB, free: 11.56 MB / 0.6823 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.0005216/0.4885, allocations: 392.8 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.4886, allocations: 12.03 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.722e-05/0.4886, allocations: 42.48 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.4887, allocations: 11.86 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.4888, allocations: 159.1 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.4889, allocations: 0 / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.4889, allocations: 4 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.489, allocations: 46.72 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4891, allocations: 4 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.4891, allocations: 3.938 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4891, allocations: 0 / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.923e-05/0.4891, allocations: 7.953 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.4896, allocations: 248.9 kB / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.4897, allocations: 34.56 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.4898, allocations: 4 kB / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.4899, allocations: 63.47 kB / 1.031 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 2.655e-06/0.49, allocations: 0 / 1.031 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0003301/0.4903, allocations: 81.48 kB / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.4904, allocations: 51.41 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.939e-05/0.4905, allocations: 101 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4905, allocations: 29.7 kB / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.4906, allocations: 84.14 kB / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.4906, allocations: 19.73 kB / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/0.4906, allocations: 0 / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4908, allocations: 314.8 kB / 1.031 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.414e-05/0.4908, allocations: 8 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.864e-05/0.4909, allocations: 31.42 kB / 1.032 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.39e-05/0.4909, allocations: 23.92 kB / 1.032 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.491, allocations: 0 / 1.032 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001595/0.4911, allocations: 73.61 kB / 1.032 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4912, allocations: 8 kB / 1.032 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4912, allocations: 0 / 1.032 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4912, allocations: 4 kB / 1.032 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.4913, allocations: 4.5 kB / 1.032 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.4913, allocations: 11.94 kB / 1.032 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.389e-05/0.4914, allocations: 4.062 kB / 1.032 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.4914, allocations: 7.938 kB / 1.032 GB, free: 9.465 MB / 0.6823 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 0.0001083/0.4915, allocations: 117.8 kB / 1.032 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.4915, allocations: 3.906 kB / 1.032 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.4916, allocations: 7.969 kB / 1.032 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.4916, allocations: 4 kB / 1.032 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4916, allocations: 0 / 1.032 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.4916, allocations: 3.953 kB / 1.032 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.4921, allocations: 302.6 kB / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.4921, allocations: 0 / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.4921, allocations: 11.88 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.4921, allocations: 0 / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.4922, allocations: 3.984 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4922, allocations: 0 / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.67e-05/0.4922, allocations: 3.953 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.4924, allocations: 155.5 kB / 1.032 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.4925, allocations: 85.02 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.4925, allocations: 7.984 kB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.4926, allocations: 0 / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.4927, allocations: 3.953 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.4927, allocations: 4 kB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.595e-05/0.4928, allocations: 87.27 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4e-07/0.4928, allocations: 0 / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004463/0.4932, allocations: 47.94 kB / 1.032 GB, free: 8.531 MB / 0.6823 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.001114/0.4943, allocations: 0.7877 MB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.4945, allocations: 35.92 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4946, allocations: 0 / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.435e-05/0.4946, allocations: 20.11 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.4948, allocations: 6.031 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.4959, allocations: 0.8263 MB / 1.034 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.4962, allocations: 0.6809 MB / 1.035 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.678e-05/0.4963, allocations: 11.89 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.4964, allocations: 7.438 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of SimCode: time 1.513e-06/0.4964, allocations: 0 / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.5213, allocations: 2.034 MB / 1.037 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002769/0.5217, allocations: 222.8 kB / 1.037 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/2.927, allocations: 0 / 1.037 GB, free: 3.918 MB / 0.6823 GB