Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.WeibullVariableGeneration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",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.389/1.389, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001086/0.001086, allocations: 173.3 kB / 326.5 MB, free: 2.246 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.813/1.813, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0007929/0.0007928, allocations: 92.59 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003413, allocations: 6.469 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2411, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001285/0.2424, allocations: 0.9338 MB / 0.9011 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006887/0.2431, allocations: 389.7 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.2432, allocations: 3.938 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.2432, allocations: 0 / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.935e-05/0.2432, allocations: 4 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.2437, allocations: 67.78 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.215e-05/0.2437, allocations: 8 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.385e-05/0.2438, allocations: 4 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.591e-05/0.2438, allocations: 15.91 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.664e-05/0.2438, allocations: 4 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.2439, allocations: 8 kB / 0.9015 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.244, allocations: 67.86 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.244, allocations: 3.984 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.2441, allocations: 33.64 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.2442, allocations: 55.92 kB / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2442, allocations: 0 / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.265e-06/0.2442, allocations: 0 / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.2442, allocations: 0 / 0.9017 GB, free: 62.24 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.0003823/0.2446, allocations: 339.4 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.2447, allocations: 12.03 kB / 0.902 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.693e-05/0.2447, allocations: 38.56 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.2447, allocations: 3.906 kB / 0.9021 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.484e-05/0.2448, allocations: 167 kB / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.2449, allocations: 4 kB / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.2449, allocations: 3.938 kB / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.545e-05/0.245, allocations: 42.5 kB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.245, allocations: 0 / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.245, allocations: 0 / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.245, allocations: 0 / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.598e-05/0.2451, allocations: 11.98 kB / 0.9023 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.2454, allocations: 253.2 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.439e-05/0.2454, allocations: 34.52 kB / 0.9026 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-06/0.2455, allocations: 0 / 0.9026 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.2456, allocations: 63.47 kB / 0.9026 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 2.154e-06/0.2456, allocations: 0 / 0.9026 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0001846/0.2458, allocations: 73.62 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.2459, allocations: 63.33 kB / 0.9027 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.079e-05/0.2459, allocations: 101.8 kB / 0.9028 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.246, allocations: 25.7 kB / 0.9029 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.899e-05/0.246, allocations: 80.14 kB / 0.9029 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.246, allocations: 19.78 kB / 0.903 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.246, allocations: 8 kB / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.643e-05/0.2461, allocations: 318.8 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.2461, allocations: 4 kB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-05/0.2461, allocations: 39.41 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.916e-05/0.2462, allocations: 12 kB / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2462, allocations: 4 kB / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.789e-05/0.2463, allocations: 73.55 kB / 0.9034 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2463, allocations: 8 kB / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2463, allocations: 0 / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2463, allocations: 0 / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.2464, allocations: 8 kB / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2464, allocations: 0 / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.2464, allocations: 11.91 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.2465, allocations: 4 kB / 0.9034 GB, free: 60.21 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 5.657e-05/0.2465, allocations: 117.8 kB / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.2465, allocations: 4 kB / 0.9035 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.2466, allocations: 11.5 kB / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2466, allocations: 0 / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2466, allocations: 0 / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2466, allocations: 0 / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.2468, allocations: 302.5 kB / 0.9038 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2468, allocations: 320 / 0.9038 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.789e-05/0.2468, allocations: 4 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2468, allocations: 4 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.2468, allocations: 4 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2468, allocations: 0 / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2468, allocations: 4 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.2469, allocations: 167.4 kB / 0.904 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/0.247, allocations: 81.02 kB / 0.9041 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.247, allocations: 4 kB / 0.9041 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.075e-05/0.2471, allocations: 3.938 kB / 0.9041 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.2471, allocations: 11.98 kB / 0.9041 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.2471, allocations: 0 / 0.9041 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.149e-05/0.2471, allocations: 79.56 kB / 0.9042 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2471, allocations: 3.938 kB / 0.9042 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002961/0.2474, allocations: 28 kB / 0.9042 GB, free: 59.3 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.0005384/0.248, allocations: 0.7667 MB / 0.905 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.179e-05/0.2481, allocations: 31.92 kB / 0.905 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2481, allocations: 0 / 0.905 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.668e-05/0.2481, allocations: 15.98 kB / 0.905 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.2483, allocations: 3.938 kB / 0.905 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/0.2488, allocations: 0.803 MB / 0.9058 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.2489, allocations: 0.6809 MB / 0.9065 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.252e-05/0.2489, allocations: 256 / 0.9065 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.249, allocations: 11.44 kB / 0.9065 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.249, allocations: 0 / 0.9065 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.2619, allocations: 1.725 MB / 0.9082 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.2621, allocations: 245.3 kB / 0.9084 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.048, allocations: 0 / 0.9084 GB, free: 55.01 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)