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.001054/0.001054, allocations: 108.5 kB / 15.99 MB, free: 6.355 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.001042/0.001043, allocations: 192.1 kB / 16.91 MB, free: 6.195 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.379/1.379, allocations: 205.1 MB / 222.8 MB, free: 4.715 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.686/1.686, allocations: 292.3 MB / 0.5492 GB, free: 13.59 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.001344/0.001344, allocations: 63.73 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2461, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002636/0.2488, allocations: 1.286 MB / 0.7848 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009004/0.2497, allocations: 440.5 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.2497, allocations: 3.938 kB / 0.7852 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.951e-05/0.2498, allocations: 0 / 0.7852 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.984e-05/0.2498, allocations: 3.938 kB / 0.7852 GB, free: 12.15 MB / 0.6075 GB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.2504, allocations: 95.78 kB / 0.7853 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.95e-05/0.2504, allocations: 15.98 kB / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.2505, allocations: 8 kB / 0.7853 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.101e-05/0.2505, allocations: 4 kB / 0.7853 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.02e-05/0.2505, allocations: 11.92 kB / 0.7853 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.2506, allocations: 4 kB / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.2508, allocations: 107.8 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.2508, allocations: 7.938 kB / 0.7854 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.2509, allocations: 11.92 kB / 0.7854 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.251, allocations: 71.91 kB / 0.7855 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.251, allocations: 0 / 0.7855 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.251, allocations: 0 / 0.7855 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.251, allocations: 0 / 0.7855 GB, free: 11.82 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.0005369/0.2516, allocations: 385.4 kB / 0.7859 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.2516, allocations: 12.03 kB / 0.7859 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.2517, allocations: 4.875 kB / 0.7859 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.2518, allocations: 172.3 kB / 0.7861 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.2518, allocations: 12.31 kB / 0.7861 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.2519, allocations: 384 / 0.7861 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.252, allocations: 38.25 kB / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.252, allocations: 192 / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.252, allocations: 7.938 kB / 0.7861 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.252, allocations: 0 / 0.7861 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.136e-05/0.2521, allocations: 4 kB / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.2522, allocations: 161.7 kB / 0.7863 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.898e-05/0.2523, allocations: 30.52 kB / 0.7863 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.2524, allocations: 16.88 kB / 0.7863 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.2524, allocations: 7.984 kB / 0.7863 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.2525, allocations: 59.41 kB / 0.7864 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.2526, allocations: 0 / 0.7864 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000219/0.2528, allocations: 69.61 kB / 0.7865 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.2528, allocations: 55.34 kB / 0.7865 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.898e-05/0.2529, allocations: 109.8 kB / 0.7866 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.253, allocations: 29.7 kB / 0.7866 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.253, allocations: 88.14 kB / 0.7867 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.253, allocations: 11.84 kB / 0.7867 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.2531, allocations: 25.7 kB / 0.7868 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2532, allocations: 314.8 kB / 0.7871 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.2532, allocations: 7.984 kB / 0.7871 GB, free: 10 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.73e-05/0.2533, allocations: 31.44 kB / 0.7871 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.316e-05/0.2534, allocations: 55.36 kB / 0.7871 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2534, allocations: 0 / 0.7871 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.445e-05/0.2535, allocations: 65.62 kB / 0.7872 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2535, allocations: 7.938 kB / 0.7872 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2535, allocations: 4.156 kB / 0.7872 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2535, allocations: 0 / 0.7872 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.55e-05/0.2536, allocations: 12.03 kB / 0.7872 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.2536, allocations: 7.984 kB / 0.7872 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.445e-05/0.2536, allocations: 3.906 kB / 0.7872 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.2537, allocations: 4 kB / 0.7872 GB, free: 9.781 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 8.486e-05/0.2538, allocations: 117.8 kB / 0.7874 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.2538, allocations: 3.938 kB / 0.7874 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.2538, allocations: 7.906 kB / 0.7874 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2538, allocations: 0 / 0.7874 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2538, allocations: 0 / 0.7874 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2538, allocations: 4 kB / 0.7874 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.254, allocations: 153.7 kB / 0.7875 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.254, allocations: 3.938 kB / 0.7875 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.298e-05/0.254, allocations: 7.984 kB / 0.7875 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.254, allocations: 3.938 kB / 0.7875 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.254, allocations: 0 / 0.7875 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.254, allocations: 3.938 kB / 0.7875 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.254, allocations: 0 / 0.7875 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.2542, allocations: 89.05 kB / 0.7876 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.2542, allocations: 85.02 kB / 0.7877 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.2542, allocations: 8.188 kB / 0.7877 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.151e-05/0.2542, allocations: 4 kB / 0.7877 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.2543, allocations: 4 kB / 0.7877 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.2543, allocations: 4.266 kB / 0.7877 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.09e-05/0.2543, allocations: 79.28 kB / 0.7878 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2543, allocations: 4 kB / 0.7878 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002528/0.2546, allocations: 31.98 kB / 0.7878 GB, free: 9.074 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.000331/0.2549, allocations: 166.5 kB / 0.788 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.2551, allocations: 27.92 kB / 0.788 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2551, allocations: 0 / 0.788 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.2551, allocations: 11.98 kB / 0.788 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.2553, allocations: 15.88 kB / 0.7881 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.2556, allocations: 150.8 kB / 0.7882 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.2558, allocations: 0.6806 MB / 0.7889 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.2559, allocations: 11.44 kB / 0.7889 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2559, allocations: 0 / 0.7889 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of Templates: time 0.002775/0.2586, allocations: 1.246 MB / 0.7901 GB, free: 6.715 MB / 0.6075 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)