Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001063/0.001063, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.587/1.587, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.726/1.726, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001198/0.001199, allocations: 65.3 kB / 0.671 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2763, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002526/0.2789, allocations: 1.277 MB / 0.7841 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008672/0.2798, allocations: 400.7 kB / 0.7845 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.2798, allocations: 4 kB / 0.7845 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.2799, allocations: 4 kB / 0.7845 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.359e-05/0.2799, allocations: 0 / 0.7845 GB, free: 12.26 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/exponentialVariableGeneration.mo:11:5-11:98: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.0005415/0.2805, allocations: 78.47 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.781e-05/0.2805, allocations: 19.97 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.083e-05/0.2806, allocations: 3.938 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.388e-05/0.2806, allocations: 11.98 kB / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.41e-05/0.2807, allocations: 4 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.2807, allocations: 0 / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.2809, allocations: 95.84 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.2809, allocations: 3.984 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.2809, allocations: 15.94 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.2811, allocations: 79.81 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2811, allocations: 0 / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2812, allocations: 0 / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2812, allocations: 0 / 0.7848 GB, free: 11.95 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.0005029/0.2817, allocations: 347.5 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2817, allocations: 8.031 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.2818, allocations: 4.844 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.2819, allocations: 168.6 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2819, allocations: 12.36 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.2819, allocations: 384 / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.282, allocations: 42.19 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.282, allocations: 192 / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2821, allocations: 3.938 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.2821, allocations: 0 / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.754e-05/0.2821, allocations: 11.98 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.2823, allocations: 153.7 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.956e-05/0.2824, allocations: 22.58 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.2824, allocations: 16.94 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.2824, allocations: 0 / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.2826, allocations: 59.34 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.2826, allocations: 0 / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002014/0.2828, allocations: 69.61 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.2829, allocations: 59.34 kB / 0.7857 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.082e-05/0.283, allocations: 97.86 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.283, allocations: 29.69 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.283, allocations: 80.14 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.2831, allocations: 11.81 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.2831, allocations: 21.72 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2832, allocations: 314.8 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.2832, allocations: 8.062 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.63e-05/0.2833, allocations: 35.44 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.193e-05/0.2833, allocations: 47.36 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2834, allocations: 4 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.35e-05/0.2835, allocations: 69.62 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2835, allocations: 7.938 kB / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2835, allocations: 4 kB / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2835, allocations: 0 / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.2836, allocations: 11.98 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2836, allocations: 0 / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/0.2836, allocations: 0 / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.2837, allocations: 4 kB / 0.7864 GB, free: 10.01 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.575e-05/0.2837, allocations: 118.4 kB / 0.7865 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.2838, allocations: 8.031 kB / 0.7865 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.2838, allocations: 3.734 kB / 0.7865 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2838, allocations: 3.984 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2838, allocations: 4 kB / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2838, allocations: 3.938 kB / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.2839, allocations: 157.7 kB / 0.7867 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2839, allocations: 0 / 0.7867 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/0.2839, allocations: 3.984 kB / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.284, allocations: 3.938 kB / 0.7867 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.284, allocations: 4 kB / 0.7867 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.284, allocations: 4 kB / 0.7867 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.284, allocations: 0 / 0.7867 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.2841, allocations: 92.95 kB / 0.7868 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.2841, allocations: 81.05 kB / 0.7869 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.2842, allocations: 7.938 kB / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.827e-05/0.2842, allocations: 3.938 kB / 0.7869 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.2842, allocations: 0 / 0.7869 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.2842, allocations: 0 / 0.7869 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.603e-05/0.2843, allocations: 87.27 kB / 0.787 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2843, allocations: 0 / 0.787 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002213/0.2845, allocations: 28 kB / 0.787 GB, free: 9.305 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.0003235/0.2848, allocations: 157.5 kB / 0.7872 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.2849, allocations: 36.02 kB / 0.7872 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.285, allocations: 0 / 0.7872 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.777e-05/0.285, allocations: 11.98 kB / 0.7872 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.2851, allocations: 7.938 kB / 0.7872 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002127/0.2854, allocations: 108.9 kB / 0.7873 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.2856, allocations: 0.6768 MB / 0.788 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.11e-05/0.2856, allocations: 4.188 kB / 0.788 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.2856, allocations: 11.44 kB / 0.788 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2856, allocations: 3.938 kB / 0.788 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of Templates: time 0.003008/0.2887, allocations: 0.9529 MB / 0.7889 GB, free: 7.289 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)