Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.WeibullVariableGeneration,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration",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.848/2.848, allocations: 287.5 MB / 302.4 MB, free: 8.297 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.001331/0.00133, allocations: 176.5 kB / 371 MB, free: 10.85 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.146/2.146, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009786/0.0009779, allocations: 90.36 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006609/0.0006611, allocations: 11.42 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2523, allocations: 115.3 MB / 0.9784 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001969/0.2543, allocations: 0.9275 MB / 0.9794 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.2557, allocations: 376.8 kB / 0.9797 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.874e-05/0.2558, allocations: 3.938 kB / 0.9797 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.2558, allocations: 3.984 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.716e-05/0.2559, allocations: 0 / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006612/0.2566, allocations: 83.8 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.698e-05/0.2566, allocations: 8 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.223e-05/0.2567, allocations: 0 / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.055e-05/0.2568, allocations: 11.97 kB / 0.9798 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.865e-05/0.2568, allocations: 7.938 kB / 0.9798 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.2569, allocations: 0 / 0.9798 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003542/0.2572, allocations: 87.84 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.2573, allocations: 11.92 kB / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.2573, allocations: 29.7 kB / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.2575, allocations: 51.92 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2576, allocations: 4 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.905e-06/0.2576, allocations: 4 kB / 0.98 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2576, allocations: 0 / 0.98 GB, free: 26.63 MB / 0.6198 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.0005132/0.2581, allocations: 347.5 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.2582, allocations: 15.95 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.954e-05/0.2583, allocations: 30.56 kB / 0.9804 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.2583, allocations: 4 kB / 0.9804 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.2585, allocations: 167 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.2585, allocations: 4 kB / 0.9806 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.2586, allocations: 4 kB / 0.9806 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.2587, allocations: 41.62 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.2588, allocations: 0 / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.2588, allocations: 0 / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.2588, allocations: 7.984 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.439e-05/0.2589, allocations: 7.984 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.2594, allocations: 248.9 kB / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.2595, allocations: 34.52 kB / 0.9809 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.117e-05/0.2596, allocations: 20.94 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.2597, allocations: 0 / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.2599, allocations: 59.34 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 3.507e-06/0.2599, allocations: 0 / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0003478/0.2603, allocations: 85.52 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.2603, allocations: 51.41 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.309e-05/0.2604, allocations: 105.8 kB / 0.9812 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.2605, allocations: 25.7 kB / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.2605, allocations: 84.12 kB / 0.9813 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.2606, allocations: 15.81 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/0.2606, allocations: 0 / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.749e-05/0.2607, allocations: 310.8 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.857e-05/0.2608, allocations: 19.98 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.69e-05/0.2609, allocations: 31.44 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.606e-05/0.261, allocations: 11.98 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.261, allocations: 4 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002254/0.2612, allocations: 69.56 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.2613, allocations: 4 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.2613, allocations: 4.062 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.2614, allocations: 4 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.2615, allocations: 11.98 kB / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.2616, allocations: 0 / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.739e-05/0.2616, allocations: 3.938 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.2617, allocations: 11.95 kB / 0.9818 GB, free: 24.58 MB / 0.6198 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 9.965e-05/0.2618, allocations: 109.8 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.2618, allocations: 11.78 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.2619, allocations: 7.562 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.2619, allocations: 11.98 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2619, allocations: 0 / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2619, allocations: 0 / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.2623, allocations: 298.8 kB / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.2624, allocations: 288 / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.2624, allocations: 0 / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.2624, allocations: 7.984 kB / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.2625, allocations: 0 / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2625, allocations: 0 / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2625, allocations: 0 / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.2628, allocations: 171.4 kB / 0.9824 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.2628, allocations: 85.03 kB / 0.9824 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.2629, allocations: 4 kB / 0.9824 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.263, allocations: 4 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.263, allocations: 0 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.2631, allocations: 4 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.614e-05/0.2631, allocations: 79.27 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.71e-07/0.2631, allocations: 4 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006637/0.2638, allocations: 35.95 kB / 0.9826 GB, free: 23.67 MB / 0.6198 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.0009336/0.2648, allocations: 0.7655 MB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001731/0.265, allocations: 39.92 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.265, allocations: 0 / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.919e-05/0.2651, allocations: 12 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.2656, allocations: 7.984 kB / 0.9834 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.2666, allocations: 405.2 kB / 0.9838 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.2668, allocations: 0.677 MB / 0.9844 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.82e-05/0.2669, allocations: 4 kB / 0.9844 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.2669, allocations: 12.81 kB / 0.9844 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of SimCode: time 1.172e-06/0.2669, allocations: 0 / 0.9844 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.2894, allocations: 1.749 MB / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003092/0.2898, allocations: 244.2 kB / 0.9864 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.63/2.92, allocations: 0 / 0.9864 GB, free: 19.77 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)