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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 196.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.804/1.804, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 63.91 kB / 0.6715 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2383, allocations: 114.5 MB / 0.7833 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002431/0.2408, allocations: 1.227 MB / 0.7845 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008926/0.2417, allocations: 451.3 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.2417, allocations: 0 / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.2418, allocations: 11.88 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.68e-05/0.2418, allocations: 0 / 0.785 GB, free: 11.81 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/weibull1DON.mo:2:1-36:16:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.weibull1DON' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0005431/0.2424, allocations: 115.6 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.383e-05/0.2424, allocations: 16 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.2425, allocations: 3.984 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.703e-05/0.2425, allocations: 4 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.878e-05/0.2425, allocations: 15.92 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.2426, allocations: 0 / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.2428, allocations: 99.84 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.2428, allocations: 19.91 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.2428, allocations: 7.938 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.2431, allocations: 103.8 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2431, allocations: 0 / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2431, allocations: 0 / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2431, allocations: 0 / 0.7854 GB, free: 11.43 MB / 0.6075 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.0004468/0.2435, allocations: 381.4 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2436, allocations: 12.03 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.2436, allocations: 0.9375 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.2437, allocations: 172.2 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.2438, allocations: 384 / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.2438, allocations: 8.375 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.641e-05/0.2439, allocations: 42.23 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.2439, allocations: 192 / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.2439, allocations: 3.938 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2439, allocations: 0 / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.081e-05/0.244, allocations: 4 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.2441, allocations: 161.7 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.999e-05/0.2442, allocations: 30.5 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.2443, allocations: 20.86 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.2443, allocations: 8.016 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.2444, allocations: 51.41 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2444, allocations: 0 / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001887/0.2446, allocations: 73.55 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.2447, allocations: 55.41 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.143e-05/0.2447, allocations: 113.8 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.2448, allocations: 29.7 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.2448, allocations: 84.14 kB / 0.7866 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.2448, allocations: 11.78 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.2449, allocations: 25.7 kB / 0.7866 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.245, allocations: 314.8 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/0.245, allocations: 4 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.904e-05/0.245, allocations: 39.42 kB / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.472e-05/0.2451, allocations: 43.62 kB / 0.787 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2451, allocations: 0 / 0.787 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.903e-05/0.2452, allocations: 73.61 kB / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2452, allocations: 16.03 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.2453, allocations: 0 / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.2453, allocations: 0 / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.2453, allocations: 11.94 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.2454, allocations: 0 / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.578e-05/0.2454, allocations: 7.906 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.2454, allocations: 0 / 0.7871 GB, free: 9.414 MB / 0.6075 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 (y,$PRE.y,curSeed,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.242e-05/0.2455, allocations: 114.5 kB / 0.7872 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.2455, allocations: 7.922 kB / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.2455, allocations: 11.91 kB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2455, allocations: 0 / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2455, allocations: 0 / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2455, allocations: 0 / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.2457, allocations: 157.7 kB / 0.7874 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2457, allocations: 0 / 0.7874 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-05/0.2457, allocations: 4 kB / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2457, allocations: 3.938 kB / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.2457, allocations: 3.984 kB / 0.7874 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2457, allocations: 3.938 kB / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2457, allocations: 0 / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.2458, allocations: 85.12 kB / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.2459, allocations: 85.28 kB / 0.7875 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.2459, allocations: 3.938 kB / 0.7875 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.157e-05/0.2459, allocations: 8 kB / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.246, allocations: 0 / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.246, allocations: 3.984 kB / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.683e-05/0.246, allocations: 91.2 kB / 0.7876 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.342e-06/0.246, allocations: 4 kB / 0.7876 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002411/0.2463, allocations: 35.94 kB / 0.7877 GB, free: 8.699 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002821/0.2466, allocations: 163.9 kB / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.2467, allocations: 31.92 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2467, allocations: 0 / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.583e-05/0.2467, allocations: 16.12 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.2469, allocations: 14.91 kB / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/0.2471, allocations: 108.9 kB / 0.788 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.2474, allocations: 0.6768 MB / 0.7887 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.273e-05/0.2474, allocations: 8.234 kB / 0.7887 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.283e-05/0.2474, allocations: 7.438 kB / 0.7887 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.2474, allocations: 4 kB / 0.7887 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of Templates: time 0.00337/0.2508, allocations: 1.082 MB / 0.7897 GB, free: 6.551 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (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 & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1)