Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 108.7 kB / 16.37 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009946/0.0009947, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.329/1.329, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.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.773/1.773, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001491/0.001491, allocations: 67.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1986, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002402/0.201, allocations: 1.228 MB / 0.786 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009832/0.202, allocations: 443.3 kB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.318e-05/0.2021, allocations: 4 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.2022, allocations: 0 / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.376e-05/0.2022, allocations: 3.938 kB / 0.7864 GB, free: 1.492 MB / 0.6544 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/weibull1DOFF.mo:2:1-36:17:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.weibull1DOFF' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0007188/0.2029, allocations: 115.5 kB / 0.7865 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.516e-05/0.203, allocations: 23.92 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.2031, allocations: 0 / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.529e-05/0.2031, allocations: 11.94 kB / 0.7866 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.613e-05/0.2032, allocations: 15.97 kB / 0.7866 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.2032, allocations: 0 / 0.7866 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.2034, allocations: 107.8 kB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.2034, allocations: 7.938 kB / 0.7867 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.2035, allocations: 7.938 kB / 0.7867 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.2037, allocations: 103.8 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2037, allocations: 0 / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2037, allocations: 0 / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2037, allocations: 0 / 0.7868 GB, free: 1.105 MB / 0.6544 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.0004844/0.2042, allocations: 385.1 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2042, allocations: 12.03 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.2043, allocations: 0.9375 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2044, allocations: 172.3 kB / 0.7873 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.2044, allocations: 384 / 0.7873 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.2045, allocations: 384 / 0.7873 GB, free: 464 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.2046, allocations: 46.19 kB / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.2046, allocations: 192 / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.2046, allocations: 3.938 kB / 0.7874 GB, free: 408 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2046, allocations: 4 kB / 0.7874 GB, free: 404 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.303e-05/0.2046, allocations: 4 kB / 0.7874 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.2048, allocations: 157.7 kB / 0.7875 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.569e-05/0.2049, allocations: 26.58 kB / 0.7876 GB, free: 156 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.2049, allocations: 20.94 kB / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.205, allocations: 0 / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.2051, allocations: 59.34 kB / 0.7876 GB, free: 60 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 2.775e-06/0.2051, allocations: 0 / 0.7876 GB, free: 60 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.3399/0.545, allocations: 70.45 kB / 0.7877 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.5451, allocations: 53.31 kB / 0.7878 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.697e-05/0.5452, allocations: 107 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.5452, allocations: 25.7 kB / 0.7879 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.5452, allocations: 87.59 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.5453, allocations: 9.141 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.5453, allocations: 22.62 kB / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.189e-05/0.5454, allocations: 318.3 kB / 0.7883 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.5454, allocations: 12.89 kB / 0.7883 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.039e-05/0.5454, allocations: 33.61 kB / 0.7884 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.035e-05/0.5455, allocations: 47.16 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.5455, allocations: 0 / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001055/0.5456, allocations: 72.5 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.5456, allocations: 6.047 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5456, allocations: 3.922 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5457, allocations: 3.469 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.834e-05/0.5457, allocations: 10.62 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.5458, allocations: 6.953 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.626e-05/0.5458, allocations: 1.062 kB / 0.7885 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.5458, allocations: 3.125 kB / 0.7885 GB, free: 48.21 MB / 0.6544 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 5.056e-05/0.5459, allocations: 115.6 kB / 0.7886 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.5459, allocations: 6.812 kB / 0.7886 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.5459, allocations: 3.906 kB / 0.7886 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.5459, allocations: 6.375 kB / 0.7886 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5459, allocations: 0 / 0.7886 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.5459, allocations: 80.48 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.546, allocations: 4.312 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.222e-05/0.546, allocations: 3.875 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.546, allocations: 3.328 kB / 0.7887 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001064/0.5461, allocations: 138.8 kB / 0.7888 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001118/0.5462, allocations: 239.5 kB / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.052e-05/0.5463, allocations: 15.88 kB / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.039e-05/0.5463, allocations: 84.94 kB / 0.7892 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of Backend: time 5.41e-07/0.5463, allocations: 3.469 kB / 0.7892 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005784/0.5469, allocations: 159.7 kB / 0.7893 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0002378/0.5471, allocations: 0.5476 MB / 0.7899 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of Templates: time 0.002908/0.5501, allocations: 1.121 MB / 0.791 GB, free: 46.95 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1)