Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.604/2.604, allocations: 284.9 MB / 292.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001485/0.001485, allocations: 180.8 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.00107, allocations: 99.09 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.326e-05/2.306e-05, allocations: 0 / 0.8508 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8895/0.8896, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2441/1.134, allocations: 137.4 MB / 1.098 GB, free: 3.082 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/1.134, allocations: 68.62 kB / 1.098 GB, free: 3.016 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01055/1.145, allocations: 2.274 MB / 1.1 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/1.145, allocations: 3.938 kB / 1.1 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.815e-06/1.145, allocations: 0.5312 kB / 1.1 GB, free: 0.7773 MB / 0.698 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.0005455/1.145, allocations: 393.2 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/1.145, allocations: 8.031 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/1.145, allocations: 5.5 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/1.146, allocations: 169.2 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/1.146, allocations: 0 / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/1.146, allocations: 11.98 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.046e-05/1.146, allocations: 0.6875 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.898e-05/1.146, allocations: 41.62 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/1.146, allocations: 1.109 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/1.146, allocations: 0.8438 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/1.146, allocations: 0 / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/1.146, allocations: 138.8 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.114e-05/1.146, allocations: 32.47 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/1.146, allocations: 14.89 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/1.146, allocations: 0.625 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/1.146, allocations: 52.81 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.235e-06/1.146, allocations: 0.75 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002498/1.147, allocations: 61.53 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/1.147, allocations: 52.03 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.781e-05/1.147, allocations: 101.5 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/1.147, allocations: 26.33 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/1.147, allocations: 84.14 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/1.147, allocations: 8.469 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/1.147, allocations: 0.7188 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.147, allocations: 319.5 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.586e-05/1.147, allocations: 4 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.776e-05/1.147, allocations: 36.72 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/1.147, allocations: 16.72 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.147, allocations: 0 / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001519/1.148, allocations: 61.84 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/1.148, allocations: 12.88 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.148, allocations: 0 / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.148, allocations: 0 / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.46e-05/1.148, allocations: 11.75 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/1.148, allocations: 0 / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.241e-05/1.148, allocations: 11.84 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/1.148, allocations: 0 / 1.101 GB, free: 14.95 MB / 0.7136 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.0001124/1.148, allocations: 121.6 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001417/1.148, allocations: 60.11 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/1.148, allocations: 0.8438 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/1.148, allocations: 8.344 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.148, allocations: 3.656 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.148, allocations: 0 / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.148, allocations: 0 / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/1.148, allocations: 150.1 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.148, allocations: 0 / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/1.148, allocations: 4 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/1.148, allocations: 0 / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/1.148, allocations: 0 / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.148, allocations: 2.109 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/1.148, allocations: 0 / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/1.149, allocations: 86.06 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/1.149, allocations: 83.02 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/1.149, allocations: 0 / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.63e-05/1.149, allocations: 0 / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/1.149, allocations: 3.938 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/1.149, allocations: 8.078 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.474e-05/1.149, allocations: 83.28 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.149, allocations: 0 / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004162/1.149, allocations: 43.94 kB / 1.102 GB, free: 14.23 MB / 0.7136 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.0009733/1.15, allocations: 0.7153 MB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000196/1.151, allocations: 23.94 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.151, allocations: 0 / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.245e-05/1.151, allocations: 12 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/1.151, allocations: 2.062 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/1.151, allocations: 124 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/1.152, allocations: 0.6885 MB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.565e-05/1.152, allocations: 0 / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/1.152, allocations: 15.44 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of SimCode: time 8.91e-07/1.152, allocations: 0 / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03854/1.19, allocations: 1.704 MB / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003194/1.191, allocations: 180.2 kB / 1.105 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/3.559, allocations: 0 / 1.105 GB, free: 10.73 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1)