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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.786/1.786, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.00122/0.001221, allocations: 189 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.4 MB / 0.6366 GB, free: 8.629 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.0009455/0.0009455, allocations: 93.45 kB / 0.7509 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.0004011, allocations: 12 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3331, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8495/1.183, allocations: 139.3 MB / 1.124 GB, free: 35.41 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/1.183, allocations: 70.5 kB / 1.124 GB, free: 35.36 MB / 0.7292 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 FrontEnd - DAE generated: time 0.00615/1.189, allocations: 2.304 MB / 1.127 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.405e-06/1.189, allocations: 0 / 1.127 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.792e-06/1.189, allocations: 0.5625 kB / 1.127 GB, free: 33.67 MB / 0.7292 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.0003732/1.19, allocations: 395.1 kB / 1.127 GB, free: 33.24 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.19, allocations: 16.02 kB / 1.127 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.469e-05/1.19, allocations: 30.56 kB / 1.127 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/1.19, allocations: 4.125 kB / 1.127 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.498e-05/1.19, allocations: 175.1 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/1.19, allocations: 4.094 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/1.19, allocations: 4.516 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/1.19, allocations: 47.31 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.19, allocations: 7.172 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/1.19, allocations: 0 / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/1.19, allocations: 0.75 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.987e-05/1.19, allocations: 4 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/1.19, allocations: 258.8 kB / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/1.19, allocations: 37.98 kB / 1.128 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/1.19, allocations: 0 / 1.128 GB, free: 32.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/1.191, allocations: 55.39 kB / 1.128 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/1.191, allocations: 0 / 1.128 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0001981/1.191, allocations: 73.66 kB / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/1.191, allocations: 55.41 kB / 1.128 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.187e-05/1.191, allocations: 102 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/1.191, allocations: 29.7 kB / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/1.191, allocations: 84.14 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/1.191, allocations: 19.45 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/1.191, allocations: 8 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.329e-05/1.191, allocations: 314.8 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/1.191, allocations: 8 kB / 1.128 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/1.191, allocations: 35.5 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.861e-05/1.191, allocations: 13.41 kB / 1.128 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.191, allocations: 4 kB / 1.128 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.679e-05/1.191, allocations: 69.42 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/1.191, allocations: 11.94 kB / 1.129 GB, free: 31.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.191, allocations: 0 / 1.129 GB, free: 31.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/1.191, allocations: 0 / 1.129 GB, free: 31.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.48e-05/1.191, allocations: 11.56 kB / 1.129 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.191, allocations: 4 kB / 1.129 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.831e-05/1.191, allocations: 5.406 kB / 1.129 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/1.191, allocations: 4 kB / 1.129 GB, free: 31.67 MB / 0.7292 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 6.033e-05/1.192, allocations: 117.9 kB / 1.129 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-06/1.192, allocations: 4 kB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/1.192, allocations: 11.38 kB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/1.192, allocations: 2.344 kB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.192, allocations: 5.531 kB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.192, allocations: 0 / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/1.192, allocations: 306.5 kB / 1.129 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.192, allocations: 0 / 1.129 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.49e-05/1.192, allocations: 0 / 1.129 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.192, allocations: 8 kB / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/1.192, allocations: 0 / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.192, allocations: 0 / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.192, allocations: 4.328 kB / 1.129 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/1.192, allocations: 167.5 kB / 1.129 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/1.192, allocations: 77.61 kB / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/1.192, allocations: 8.641 kB / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.879e-05/1.192, allocations: 0 / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/1.192, allocations: 4 kB / 1.129 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/1.192, allocations: 4.688 kB / 1.129 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.704e-05/1.192, allocations: 87.42 kB / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.192, allocations: 0 / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002786/1.193, allocations: 51.86 kB / 1.129 GB, free: 30.77 MB / 0.7292 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.0005852/1.193, allocations: 0.7891 MB / 1.13 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001126/1.193, allocations: 31.56 kB / 1.13 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.193, allocations: 0 / 1.13 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.861e-05/1.193, allocations: 24.69 kB / 1.13 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/1.193, allocations: 0.5469 kB / 1.13 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005723/1.194, allocations: 0.8168 MB / 1.131 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/1.194, allocations: 0.6813 MB / 1.132 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.03e-05/1.194, allocations: 4 kB / 1.132 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/1.194, allocations: 18.86 kB / 1.132 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/1.194, allocations: 0 / 1.132 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/1.209, allocations: 2.023 MB / 1.134 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/1.209, allocations: 222.9 kB / 1.134 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.887, allocations: 0 / 1.134 GB, free: 27.02 MB / 0.7292 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/linux/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)