Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF",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.268/2.268, allocations: 248.7 MB / 256.2 MB, free: 7.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001463/0.001462, allocations: 189.3 kB / 315.4 MB, free: 3.965 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.089/2.089, allocations: 205.3 MB / 0.5662 GB, free: 0.582 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 98.39 kB / 0.6704 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.665e-05/2.674e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2294, allocations: 106.2 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9263/1.156, allocations: 132 MB / 1.013 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/1.156, allocations: 73.95 kB / 1.013 GB, free: 7.074 MB / 0.6355 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.01011/1.166, allocations: 2.291 MB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.402e-06/1.166, allocations: 0 / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.799e-06/1.166, allocations: 4 kB / 1.015 GB, free: 5.125 MB / 0.6355 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.000476/1.167, allocations: 387.8 kB / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/1.167, allocations: 8.031 kB / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/1.167, allocations: 11.95 kB / 1.016 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/1.167, allocations: 171 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/1.167, allocations: 0 / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/1.167, allocations: 4 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.276e-05/1.167, allocations: 4 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.111e-05/1.167, allocations: 37.5 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/1.167, allocations: 0 / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/1.167, allocations: 0 / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/1.167, allocations: 0 / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/1.167, allocations: 150.1 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/1.168, allocations: 29.17 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.421e-05/1.168, allocations: 12.48 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/1.168, allocations: 0 / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/1.168, allocations: 51.38 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.984e-06/1.168, allocations: 4 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002076/1.168, allocations: 57.61 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/1.168, allocations: 55.41 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.099e-05/1.168, allocations: 96.88 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/1.168, allocations: 26.45 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/1.168, allocations: 91.94 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/1.168, allocations: 3.906 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/1.168, allocations: 0 / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.169, allocations: 318.7 kB / 1.017 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/1.169, allocations: 8 kB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.434e-05/1.169, allocations: 35.23 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.458e-05/1.169, allocations: 4 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.169, allocations: 3.938 kB / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001355/1.169, allocations: 65.22 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.169, allocations: 10.28 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/1.169, allocations: 0 / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/1.169, allocations: 7.938 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/1.169, allocations: 11.92 kB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.169, allocations: 4 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.84e-05/1.169, allocations: 3.938 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/1.169, allocations: 7.875 kB / 1.017 GB, free: 3.309 MB / 0.6355 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.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001021/1.169, allocations: 104.9 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001293/1.169, allocations: 57.47 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/1.169, allocations: 7.984 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/1.169, allocations: 8.344 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/1.169, allocations: 144 / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.169, allocations: 0 / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.169, allocations: 3.984 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/1.17, allocations: 138.1 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.17, allocations: 3.938 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.03e-05/1.17, allocations: 4 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.17, allocations: 0 / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/1.17, allocations: 0 / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.17, allocations: 4 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.17, allocations: 0 / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/1.17, allocations: 92.53 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/1.17, allocations: 77.11 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/1.17, allocations: 256 / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.418e-05/1.17, allocations: 3.984 kB / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/1.17, allocations: 8 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.076e-06/1.17, allocations: 0 / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.557e-05/1.17, allocations: 87.16 kB / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.17, allocations: 0 / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004223/1.171, allocations: 47.92 kB / 1.018 GB, free: 2.598 MB / 0.6355 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,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.001008/1.172, allocations: 0.7124 MB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001366/1.172, allocations: 27.86 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.172, allocations: 0 / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.296e-05/1.172, allocations: 11.88 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/1.172, allocations: 2.906 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/1.172, allocations: 125.3 kB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/1.173, allocations: 0.6886 MB / 1.019 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.678e-05/1.173, allocations: 3.906 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/1.173, allocations: 15.42 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of SimCode: time 7.61e-07/1.173, allocations: 3.938 kB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03793/1.211, allocations: 1.699 MB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003108/1.211, allocations: 179.2 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/3.522, allocations: 4 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB