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.556/1.556, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001166/0.001166, allocations: 181.3 kB / 326.5 MB, free: 2.254 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.77/1.77, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0008452/0.0008453, allocations: 91.73 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004474/0.0004475, allocations: 10.12 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2442, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.00165/0.2459, allocations: 0.9493 MB / 0.9011 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009967/0.2469, allocations: 426.4 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.247, allocations: 0 / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.247, allocations: 0 / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.127e-05/0.2471, allocations: 4 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000569/0.2476, allocations: 83.72 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.092e-05/0.2477, allocations: 19.97 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.609e-05/0.2478, allocations: 0 / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.727e-05/0.2478, allocations: 7.938 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.616e-05/0.2479, allocations: 11.98 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.2479, allocations: 0 / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.2482, allocations: 83.78 kB / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.2482, allocations: 8 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/0.2482, allocations: 25.7 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.2484, allocations: 63.89 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2484, allocations: 8 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.825e-06/0.2484, allocations: 0 / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2485, allocations: 0 / 0.9018 GB, free: 62.2 MB / 0.6042 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.0004353/0.2489, allocations: 373.3 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.249, allocations: 11.97 kB / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.336e-05/0.249, allocations: 42.47 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.2491, allocations: 0 / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.077e-05/0.2492, allocations: 175 kB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.2492, allocations: 0 / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.2492, allocations: 8 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.2494, allocations: 37.69 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.2494, allocations: 0 / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.2494, allocations: 0 / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2494, allocations: 4 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.459e-05/0.2495, allocations: 7.984 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.2498, allocations: 252.9 kB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.2499, allocations: 42.5 kB / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.25, allocations: 0 / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.2501, allocations: 55.5 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.983e-06/0.2502, allocations: 0 / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.000253/0.2504, allocations: 81.52 kB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.2505, allocations: 55.41 kB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.047e-05/0.2505, allocations: 105.8 kB / 0.903 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.2506, allocations: 29.7 kB / 0.903 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.2506, allocations: 84.14 kB / 0.9031 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.2506, allocations: 11.81 kB / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.2506, allocations: 4 kB / 0.9031 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.851e-05/0.2507, allocations: 318.8 kB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.936e-05/0.2508, allocations: 11.98 kB / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.778e-05/0.2508, allocations: 39.42 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.896e-05/0.2509, allocations: 12 kB / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.2509, allocations: 0 / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000138/0.251, allocations: 77.58 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2511, allocations: 8 kB / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2511, allocations: 0 / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.2511, allocations: 0 / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.485e-05/0.2512, allocations: 12.06 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.2512, allocations: 4 kB / 0.9036 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.955e-05/0.2512, allocations: 7.844 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.2513, allocations: 4 kB / 0.9036 GB, free: 60.12 MB / 0.6042 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 7.822e-05/0.2513, allocations: 125.7 kB / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.2514, allocations: 3.984 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.2514, allocations: 3.969 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2514, allocations: 0 / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2514, allocations: 4 kB / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.2515, allocations: 4 kB / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.2517, allocations: 302.6 kB / 0.904 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2517, allocations: 0 / 0.904 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/0.2518, allocations: 0 / 0.904 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2518, allocations: 7.938 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2518, allocations: 0.5625 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2518, allocations: 0 / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2518, allocations: 0 / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.252, allocations: 175.4 kB / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.252, allocations: 85.05 kB / 0.9042 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.2521, allocations: 0 / 0.9042 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.629e-05/0.2522, allocations: 0 / 0.9042 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.2522, allocations: 3.984 kB / 0.9043 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.2522, allocations: 4 kB / 0.9043 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.889e-05/0.2522, allocations: 83.28 kB / 0.9043 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2523, allocations: 0 / 0.9043 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004666/0.2527, allocations: 35.98 kB / 0.9044 GB, free: 59.2 MB / 0.6042 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.0006739/0.2534, allocations: 0.7675 MB / 0.9051 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.2536, allocations: 35.98 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.2536, allocations: 4.062 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.256e-05/0.2536, allocations: 12 kB / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.2538, allocations: 7.984 kB / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006734/0.2545, allocations: 0.8133 MB / 0.906 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.2547, allocations: 0.6848 MB / 0.9066 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.479e-05/0.2547, allocations: 4 kB / 0.9066 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.2547, allocations: 7.438 kB / 0.9066 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2548, allocations: 4 kB / 0.9067 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.2697, allocations: 1.868 MB / 0.9085 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.2699, allocations: 234.8 kB / 0.9087 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/1.993, allocations: 0 / 0.9087 GB, free: 54.8 MB / 0.6042 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)