Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 249.5 MB / 257 MB, free: 6.859 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.001274/0.001274, allocations: 176.9 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008397/0.0008397, allocations: 96.08 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.128e-05/2.13e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2488, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7777/1.027, allocations: 132.2 MB / 1.014 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/1.027, allocations: 70.33 kB / 1.014 GB, free: 5.445 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 FrontEnd - DAE generated: time 0.006399/1.033, allocations: 2.29 MB / 1.017 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/1.033, allocations: 0 / 1.017 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.143e-06/1.033, allocations: 0 / 1.017 GB, free: 3.512 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.0004363/1.034, allocations: 380.1 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/1.034, allocations: 15.97 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/1.034, allocations: 0 / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/1.034, allocations: 170.9 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/1.034, allocations: 3.984 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/1.034, allocations: 0 / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.4e-05/1.034, allocations: 8 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.746e-05/1.034, allocations: 41.44 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/1.034, allocations: 4 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/1.034, allocations: 0 / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/1.034, allocations: 0 / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/1.034, allocations: 138.2 kB / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.086e-05/1.035, allocations: 28.86 kB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/1.035, allocations: 17.48 kB / 1.017 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/1.035, allocations: 0 / 1.017 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/1.035, allocations: 51.44 kB / 1.018 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/1.035, allocations: 3.938 kB / 1.018 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001805/1.035, allocations: 57.61 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/1.035, allocations: 51.41 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.769e-05/1.035, allocations: 96.81 kB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/1.035, allocations: 29.7 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/1.035, allocations: 88.06 kB / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/1.035, allocations: 15.69 kB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-06/1.035, allocations: 0 / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.035, allocations: 310.8 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/1.035, allocations: 7.812 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.632e-05/1.035, allocations: 35.05 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.625e-05/1.035, allocations: 11.95 kB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.035, allocations: 3.938 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.011e-05/1.035, allocations: 57.5 kB / 1.018 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.036, allocations: 8 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.036, allocations: 160 / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/1.036, allocations: 0 / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.583e-05/1.036, allocations: 11.98 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/1.036, allocations: 11.39 kB / 1.018 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.771e-05/1.036, allocations: 11.88 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/1.036, allocations: 0 / 1.018 GB, free: 1.703 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 8.512e-05/1.036, allocations: 112.9 kB / 1.018 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.418e-05/1.036, allocations: 61.47 kB / 1.018 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/1.036, allocations: 3.984 kB / 1.018 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/1.036, allocations: 4.344 kB / 1.018 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/1.036, allocations: 4 kB / 1.018 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.036, allocations: 0 / 1.018 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.036, allocations: 4.141 kB / 1.018 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/1.036, allocations: 138.1 kB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.036, allocations: 3.984 kB / 1.019 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.089e-05/1.036, allocations: 0 / 1.019 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.036, allocations: 4 kB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/1.036, allocations: 0 / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.036, allocations: 0 / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.036, allocations: 3.984 kB / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/1.036, allocations: 92.55 kB / 1.019 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/1.036, allocations: 77.11 kB / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/1.036, allocations: 7.984 kB / 1.019 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.04e-05/1.036, allocations: 0 / 1.019 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/1.036, allocations: 0 / 1.019 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/1.036, allocations: 4 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.034e-05/1.036, allocations: 84.03 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.036, allocations: 0 / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002669/1.037, allocations: 47.92 kB / 1.019 GB, free: 0.9922 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.0006899/1.037, allocations: 0.7075 MB / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.432e-05/1.037, allocations: 31.97 kB / 1.02 GB, free: 264 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.038, allocations: 4.062 kB / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.657e-05/1.038, allocations: 11.94 kB / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/1.038, allocations: 2.578 kB / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/1.038, allocations: 128.8 kB / 1.02 GB, free: 88 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/1.038, allocations: 0.6807 MB / 1.02 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.008e-05/1.038, allocations: 3.938 kB / 1.02 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/1.038, allocations: 15.42 kB / 1.02 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.038, allocations: 7.938 kB / 1.02 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/1.059, allocations: 1.699 MB / 1.022 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/1.059, allocations: 186.2 kB / 1.022 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.479/2.538, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DON_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_Weibull1DON.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1)