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.001107/0.001107, allocations: 103.7 kB / 15.98 MB, free: 6.348 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.001068/0.001068, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.417/1.417, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.681/1.681, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001304/0.001304, allocations: 71.33 kB / 0.6716 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2011, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002233/0.2033, allocations: 1.27 MB / 0.7847 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007119/0.2041, allocations: 392.7 kB / 0.7851 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.843e-05/0.2041, allocations: 0 / 0.7851 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.464e-05/0.2041, allocations: 0 / 0.7851 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.587e-05/0.2042, allocations: 4 kB / 0.7851 GB, free: 12.22 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.0004423/0.2046, allocations: 91.78 kB / 0.7852 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.267e-05/0.2047, allocations: 19.92 kB / 0.7852 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.2047, allocations: 0 / 0.7852 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.2047, allocations: 4 kB / 0.7852 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.34e-05/0.2048, allocations: 7.984 kB / 0.7852 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.2048, allocations: 0 / 0.7852 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.205, allocations: 91.84 kB / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.205, allocations: 11.92 kB / 0.7853 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.205, allocations: 4 kB / 0.7853 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.2051, allocations: 59.91 kB / 0.7854 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2051, allocations: 0 / 0.7854 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2051, allocations: 0 / 0.7854 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2052, allocations: 0 / 0.7854 GB, free: 11.94 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.000415/0.2056, allocations: 347.5 kB / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.2056, allocations: 8.031 kB / 0.7857 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.2057, allocations: 8.844 kB / 0.7857 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.793e-05/0.2058, allocations: 168.5 kB / 0.7859 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.2058, allocations: 16.3 kB / 0.7859 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.2058, allocations: 4.375 kB / 0.7859 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.224e-05/0.2059, allocations: 34.25 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.2059, allocations: 192 / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.2059, allocations: 3.938 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2059, allocations: 4 kB / 0.786 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.196e-05/0.2059, allocations: 4 kB / 0.786 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.2061, allocations: 157.7 kB / 0.7861 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.758e-05/0.2062, allocations: 34.55 kB / 0.7862 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.27e-05/0.2062, allocations: 12.86 kB / 0.7862 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.2062, allocations: 0 / 0.7862 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.2063, allocations: 55.48 kB / 0.7862 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2063, allocations: 0 / 0.7862 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001668/0.2065, allocations: 65.62 kB / 0.7863 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.2066, allocations: 59.33 kB / 0.7863 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.956e-05/0.2066, allocations: 101.9 kB / 0.7864 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.2067, allocations: 25.7 kB / 0.7865 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.2067, allocations: 84.14 kB / 0.7865 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.2067, allocations: 7.812 kB / 0.7866 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.2068, allocations: 25.7 kB / 0.7866 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2069, allocations: 314.8 kB / 0.7869 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/0.2069, allocations: 4 kB / 0.7869 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.653e-05/0.2069, allocations: 43.53 kB / 0.7869 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.706e-05/0.207, allocations: 43.38 kB / 0.787 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.207, allocations: 0 / 0.787 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.495e-05/0.2071, allocations: 73.88 kB / 0.787 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2071, allocations: 11.94 kB / 0.787 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2071, allocations: 3.938 kB / 0.787 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.2071, allocations: 4 kB / 0.7871 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.183e-05/0.2072, allocations: 7.938 kB / 0.7871 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2072, allocations: 4 kB / 0.7871 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.409e-05/0.2073, allocations: 0 / 0.7871 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.2073, allocations: 4 kB / 0.7871 GB, free: 9.98 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 6.475e-05/0.2073, allocations: 113.8 kB / 0.7872 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.2074, allocations: 7.938 kB / 0.7872 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.2074, allocations: 7.5 kB / 0.7872 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.2074, allocations: 0 / 0.7872 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2074, allocations: 0 / 0.7872 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2074, allocations: 0 / 0.7872 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.2075, allocations: 153.7 kB / 0.7873 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2075, allocations: 0 / 0.7873 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-05/0.2075, allocations: 4 kB / 0.7873 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.2075, allocations: 7.875 kB / 0.7873 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.2076, allocations: 0 / 0.7873 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2076, allocations: 0 / 0.7873 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2076, allocations: 4 kB / 0.7874 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.2077, allocations: 92.95 kB / 0.7874 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.2077, allocations: 85.05 kB / 0.7875 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.2078, allocations: 3.938 kB / 0.7875 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.337e-05/0.2078, allocations: 7.984 kB / 0.7875 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.2078, allocations: 4 kB / 0.7875 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.2078, allocations: 0 / 0.7875 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.015e-05/0.2079, allocations: 79.28 kB / 0.7876 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2079, allocations: 0 / 0.7876 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002386/0.2081, allocations: 35.98 kB / 0.7876 GB, free: 9.281 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.0003027/0.2084, allocations: 161.5 kB / 0.7878 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.817e-05/0.2085, allocations: 32.14 kB / 0.7878 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2085, allocations: 8.062 kB / 0.7878 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.959e-05/0.2086, allocations: 11.94 kB / 0.7879 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.2087, allocations: 0 / 0.7879 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000231/0.2089, allocations: 133.6 kB / 0.788 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.2092, allocations: 0.6768 MB / 0.7886 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.2092, allocations: 11.44 kB / 0.7886 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2092, allocations: 3.938 kB / 0.7887 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of Templates: time 0.002544/0.2118, allocations: 1.136 MB / 0.7898 GB, free: 7.059 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)