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: translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.901/2.901, allocations: 287.5 MB / 302.4 MB, free: 8.34 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.001346/0.001346, allocations: 170.4 kB / 371 MB, free: 10.89 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.18/2.18, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009678/0.0009675, allocations: 87.64 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005045/0.0005047, allocations: 11.52 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2144, allocations: 115.3 MB / 0.9783 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001296/0.2157, allocations: 0.9352 MB / 0.9793 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008673/0.2166, allocations: 376.8 kB / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.327e-05/0.2166, allocations: 4 kB / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.2167, allocations: 7.938 kB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.496e-05/0.2167, allocations: 0 / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.2172, allocations: 75.84 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.451e-05/0.2172, allocations: 15.92 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.2173, allocations: 0 / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.11e-05/0.2173, allocations: 8 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.059e-05/0.2174, allocations: 11.92 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.2174, allocations: 0 / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.2176, allocations: 79.91 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.2176, allocations: 11.86 kB / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.2177, allocations: 33.7 kB / 0.9799 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.2178, allocations: 63.91 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2178, allocations: 0 / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2178, allocations: 0 / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2179, allocations: 0 / 0.9799 GB, free: 26.77 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.0003761/0.2182, allocations: 335.7 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.175e-05/0.2183, allocations: 8.031 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.2184, allocations: 7.906 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.849e-05/0.2185, allocations: 167 kB / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.2185, allocations: 8 kB / 0.9804 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.2185, allocations: 4 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.429e-05/0.2186, allocations: 33.69 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2186, allocations: 0 / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.2187, allocations: 0 / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.2187, allocations: 3.984 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.106e-05/0.2187, allocations: 11.94 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.2188, allocations: 157.6 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.207e-05/0.2189, allocations: 30.61 kB / 0.9806 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.219, allocations: 12.86 kB / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.219, allocations: 0 / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.2192, allocations: 59.42 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/0.2192, allocations: 11.88 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002052/0.2194, allocations: 65.67 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.2194, allocations: 55.41 kB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.263e-05/0.2195, allocations: 101.8 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.2195, allocations: 25.7 kB / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.201e-05/0.2195, allocations: 80.14 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.2196, allocations: 15.81 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.2196, allocations: 0 / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.575e-05/0.2196, allocations: 318.8 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.573e-05/0.2197, allocations: 8 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.161e-05/0.2197, allocations: 39.38 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.2198, allocations: 15.98 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2198, allocations: 0 / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001184/0.2199, allocations: 57.62 kB / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2199, allocations: 8 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.22, allocations: 96 / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.22, allocations: 4 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.2201, allocations: 15.94 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2201, allocations: 3.984 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.379e-05/0.2201, allocations: 4 kB / 0.9815 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.2202, allocations: 0 / 0.9815 GB, free: 24.9 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.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 6.493e-05/0.2202, allocations: 117.8 kB / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.2202, allocations: 3.906 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.2203, allocations: 7.5 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2203, allocations: 4 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2203, allocations: 4 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2203, allocations: 0 / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.303e-05/0.2204, allocations: 165.5 kB / 0.9818 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2204, allocations: 0 / 0.9818 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.2205, allocations: 7.984 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2205, allocations: 0 / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.2205, allocations: 0 / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2205, allocations: 0 / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2205, allocations: 0 / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.2206, allocations: 93.05 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.2207, allocations: 85 kB / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.2207, allocations: 0 / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.799e-05/0.2207, allocations: 480 / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.2208, allocations: 4 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.2208, allocations: 4 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.486e-05/0.2208, allocations: 87.25 kB / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2208, allocations: 0 / 0.9821 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003037/0.2211, allocations: 27.94 kB / 0.9821 GB, free: 24.21 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,y,curSeed) * Number of discrete states: 0 () * Number of clocked 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.0003764/0.2215, allocations: 156 kB / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.2217, allocations: 27.92 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2217, allocations: 4 kB / 0.9823 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.776e-05/0.2217, allocations: 11.98 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.2219, allocations: 11.19 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.2222, allocations: 120.5 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.2223, allocations: 0.677 MB / 0.9831 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.677e-05/0.2224, allocations: 0 / 0.9831 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.2224, allocations: 11.44 kB / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/0.2224, allocations: 3.938 kB / 0.9831 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of Templates: time 0.004008/0.2264, allocations: 0.9849 MB / 0.984 GB, free: 22.17 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (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 & ./Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)